If the collection lexicon is on, I would expect it to be correct. -- Dave Cassel Vanguard Technical Manager MarkLogic Corporation<http://www.marklogic.com/> Cell: +1-484-798-8720
From: Gene Thomas <[email protected]<mailto:[email protected]>> Reply-To: Gene Thomas <[email protected]<mailto:[email protected]>>, MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Thursday, April 3, 2014 at 2:27 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] Collection counts using xdmp:estimate Will this query give me a vaild count result? for $collection in cts:collections() return element result { element collection {$collection}, element count {xdmp:estimate(collection($collection))} } Also, if I backup a database on an ML 4.2-7 cluster and restore it on ML7, should running the same query give the same results. for $collection in cts:collections() return element result { element collection {$collection}, element count {xdmp:estimate(collection($collection))} } Gene
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
