> > [Geert Josten] ...will run lock-free. You can use xdmp:eval or xdmp:invoke to do > > the actual updates in a separate transaction, which will only > > need to lock the document(s) that it's updating. > > Ah- thank you I will try that. Right now all the read queries (100's > per document updated) are in the same transaction as the writes, > although I am *trying* only to retrieve the uris of these documents, but > I suspect that > > cts:search (...)/base-uri() might have to read the docs? > > Perhaps Danny's suggestion of cts:uris () with a query will help there.
I expect that only to make difference if cts:search returns false positives that you filter out beyond base-uri() call yourself (which I expect not). But cts:uris or cts:uri-match could be slightly quicker.. Grtz _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
