[MarkLogic Dev General] (1) Canceling XQuery requests, (2) Exploring Resource Hierarchy

Danny Sinang d.sinang at gmail.com
Mon Feb 27 16:56:10 PST 2012


Be careful though ... xdmp:directory() returns (not just lists) the
documents in a directory.

If you have large files in your directory, then you could run into some
memory problems.

I kept on running out of memory because I had a growing number of
big zipfiles in the directory I was querying.

Regards,
Danny

On Feb 26, 2012, at 1:36 PM, Todd Gochenour <todd.gochenour at gmail.com>
wrote:

> (2) I found the XQuery for listing the files in a directory.  It reads:
>
> xdmp:directory('/analysis/')/xdmp:node-uri(.)
>
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20120227/26307e8d/attachment.html 


More information about the General mailing list