Hi Mehul,

cts:uris is a good alternative indeed. Use the "properties" option to make it 
return only uris for properties..

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: [email protected] 
[mailto:[email protected]] Namens Kelly Stirman
Verzonden: woensdag 25 mei 2011 20:15
Aan: [email protected]
Onderwerp: Re: [MarkLogic Dev General] NQLoader and naked properties

If you enable the uri index on the database, you can call cts:uris to get a 
list of all uris in the database.


>>Additionally For #2.

>>One way is I can find uri by calling --sem:uri-for-tuple() - to get <uri> And 
>>use -- xdmp:document-delete("<uri>")

>>However I need to call uri-for-tuple and pass exact values of tuple to find 
>>uri;
>>what I am looking for is ...if there is a way to get a list of all uris for 
>>the
>>docs/tuples I loaded. Like to get list of all uris of documents in MarkLogic
>>database I can use "for $i in doc() return (document-uri($i))"
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to