Element-value queries are hash lookups, and I believe the hash is 
punctuation-insensitive. Have you tried adding the "punctuation-sensitive" or 
"exact" options?

If that doesn't work, plan B is a range index: type=string, codepoint 
collation. The codepoint collation is both the fastest and the strictest. Then 
use http://docs.marklogic.com/cts:element-range-query for a value lookup.

-- Mike

On 25 Mar 2014, at 07:29 , Gary Larsen <[email protected]> wrote:

> Hi,
>  
> Getting a false match on:
>  
> cts:element-value-query(xs:QName('modelPath'), 
> 'Folders].[Orders].[OrderDate]')
>  
> The value that it is matching on is:  '[Folders].[Orders].[OrderDate]'      
> (starting bracket)
>  
> Any reason why the bracket is being ignored?   (using version 6.0-4.1)
>  
> Thanks,
> Gary
>  
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to