Hello,

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
message.

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()
return
fn:document-uri($x)

I've tried 

For $x in fn:base-uri(doc())

And 

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
files?

Thanks


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

Reply via email to