[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] Is fn:doc-available() high performance, or should we use something else like cts:uri-match()?

2012-03-01 Thread Danny Sokolsky
@developer.marklogic.com Subject: [MarkLogic Dev General] Is fn:doc-available() high performance, or should we use something else like cts:uri-match()? 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

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

2012-03-01 Thread Michael Blakeley
: [MarkLogic Dev General] Is fn:doc-available() high performance, or should we use something else like cts:uri-match()? 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

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

2012-03-01 Thread Danny Sokolsky
Discussion Subject: Re: [MarkLogic Dev General] Is fn:doc-available() high performance, or should we use something else like cts:uri-match()? It looks to me like doc-available($uri) is equivalent to xdmp:exists(doc($uri)) now. Either expression results in a simple list-cache lookup, with no tree