We have a system with a million or so records. When attempting to discern
if a doc with a given uri is in the system, what's the fastest method?
Thanks.
___
General mailing list
General@developer.marklogic.com
Subject line so it is more specific
than Re: Contents of General digest...
Today's Topics:
1. Is fn:doc-available() high performance, or should we use
something else like cts:uri-match()? (David Swearingen)
2. Re: Is fn:doc-available() high performance, or should we use
something
We are testing some of our document ingestion routines, using JUnit and
some other libraries, and we need to understand what the best practice is
for dealing with the finite amount of time (often tens of seconds) required
to ingest successfully, and thus how to somehow delay our assertions (that
the logic of the first condition (the .xqy file)
for reasons I won't get into here.
Is there a way to do this? We tried adding a second state-transition
element, but that appears not to work, and this was just speculation since
we can't find any documentation to support doing this.
Thanks,
David