[MarkLogic Dev General] Is fn:doc-available() high performance, or should we use something else like cts:uri-match()?

2012-03-01 Thread David Swearingen
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

Re: [MarkLogic Dev General] General Digest, Vol 93, Issue 3

2012-03-01 Thread David Swearingen
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

[MarkLogic Dev General] Integration tests and how to account for the delays in some document ingestion processes

2012-02-22 Thread David Swearingen
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

[MarkLogic Dev General] Does CPF support multiple Conditions?

2012-01-25 Thread David Swearingen
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