Hi Jason, Was able to avoid using 'filtered' query by:
- creating element-range-index with codepoint collation - changing element-value-query() to element-range-query() using codepoint collection Didn't need to use 'exact' in my case. Thanks! Gary -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jason Hunter Sent: Thursday, March 27, 2014 12:28 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] false match on cts:element-value-query It will be more efficient if you can make it work unfiltered, which is actually possible. In the value query you need to specify the "exact" option (which is a shorthand for everything sensitive), and make sure that your collation context is right. I believe your collation needs to be codepoint. MarkLogic maintains a term list for "exact" matches using the codepoint collation, so it can resolve fully sensitive out of indexes. You won't see it normally used because the default collation is root. -jh- _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
