If you can create a range index of the appropriate type on the element, you can use cts:element-range-query.
http://developer.marklogic.com/pubs/4.2/apidocs/cts-query.html#cts:element-range-query On Aug 22, 2011, at 11:33 AM, Gary Larsen wrote: > Hi, > > I would like to add a filter to a constraining query where the count of an > element in the document is less than two. I should probably have that > calculation in the document but hoping there is a cts query which can do that > for me. > > Thanks, > gary > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general --- Ron Hitchens {mailto:[email protected]} Ronsoft Technologies +44 7879 358 212 (voice) http://www.ronsoft.com +1 707 924 3878 (fax) Bit Twiddling At Its Finest "No amount of belief establishes any fact." -Unknown _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
