[MarkLogic Dev General] Deleting a directory does not delete
thedocuments in the directory?
dsokolsky at marklogic.com
Fri Feb 16 10:15:16 PST 2007
That is an error in the documentation. Deleting a directory deletes
the directory and all of its children.
Thank you for pointing it out--we'll get it corrected.
From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of
VSedov at wiley.ru
Sent: Friday, February 16, 2007 6:06 AM
To: general at developer.marklogic.com
Subject: [MarkLogic Dev General] Deleting a directory does not
delete thedocuments in the directory?
4.2 Collections Versus Directories
Collections are used to organize documents in a database. You
can also use directories to organize
documents in a database. The key differences in using
collections to organize documents versus
using directories are:
* Collections do not require member documents to conform to any
URI patterns. They are
not hierarchical; directories are. Any document can belong to
any collection, and any
document can also belong to multiple collections.
* You can delete all documents in a collection with the
Deleting a directory does not delete the documents in the
directory (unless you use a
WebDAV client to delete a directory).
* You cannot set properties on a collection; you can on a
Except for the fact that you can use both collections and
directories to organize documents,
collections are unrelated to directories. For details on
directories, see "Properties Documents and
Directories" on page 98.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General