[MarkLogic Dev General] Large Queries and Timeouts
dominic at brahms.demon.co.uk
Tue Nov 13 06:05:55 PST 2007
This is my first post to the list so please be gentle!
I've built an ML application that works well up until a point (about 20,000
smallish documents + 100 or so bigger ones) and then I've started hitting a
lot of long running queries and the dreaded Expanded Tree Cache full
I'm going through and fixing most of the problems but there is one problem I
just can't get my head round.
I want to do something like:
for $x in doc()
For $x in fn:base-uri(doc())
For $x in fn:document-uri(doc())
But all seem to just send the server into a loop until the query times out.
Any suggestions for getting a list of all the documents in the database?
Also is there a quick way to dump all the documents out of the database to
More information about the General