I have an element on which I want to do a faceted search that contains a single character. A hyphen is a valid value. Since the hyphen is the search:grammar search:starter cts:not-query character I cannot do a faceted search on that value - I get no results. Changing the cts:not-query character to a tilde allows the faceted search on hyphen, but I do not want to change the not query character globally, nor do I want to change the UI or force users to quote the hyphen.
Can I force MarkLogic to not ignore the hyphen value in a faceted search on just this one facet, e.g., by replacing the "prefix" apply function with a custom function that changes the not character based upon the facet name? I see that the prefix function takes the arguments $toks, $toknum and $stab. What do these represent? Bob _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
