Hi,

I've created a range index on ptype and ran the below queries and I am
getting the difference in count. What could be the reason? Any advice?

// This one is getting lesser results

cts.estimate(cts.andQuery([cts.jsonPropertyRangeQuery('ptype', "=",
"25"),cts.collectionQuery(["COLLECTION-1"])]));

// This one is getting accurate results.

cts.estimate(cts.andQuery([cts.jsonPropertyValueQuery("ptype","25"),cts.collectionQuery("COLLECTION-1")]));


Regards

Shan.
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to