[MarkLogic Dev General] How to make the cts::element-value-match search punctuation-insensitive?
tim at aaom.net
Fri Apr 30 10:59:23 PDT 2010
I have a query that seems to be kind of slow - it uses
cts:element-value-query() with the case-insensitive, diacritic-insensitive,
and punctuation-insensitive options. However, I want to speed up the search
by creating a range element index on the elements of interest. I noticed,
however, that the corresponding lexicon query would be
cts::element-value-match(), but it only provides case-insensitive and
diacritic-insensitive search options but not the punctuation-insensitive
option. How can I make this lexicon query punctuation-insensitive? Can I
do it by building a custom collation with the alternate characters setting
set to "avoid punctuation"?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General