Hi, 
 
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.
 
Thanks,
-Danny

        -----Original Message-----
        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
        Sent: Friday, February 16, 2007 6:06 AM
        To: [email protected]
        Subject: [MarkLogic Dev General] Deleting a directory does not
delete thedocuments in the directory?
        
        

        Really? 
        
        dev_guide.pdf 
        
        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
xdmp:collection-delete() function. 
        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
directory. 
        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. 

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to