Lib search contains the following:
lp:get-cts-query($text, $field-map,
("case-insensitive",
"diacritic-insensitive",
"punctuation-sensitive") )
Then the lp:get-cts-query contains the following:
declare function lp:get-cts-query(
$qs as xs:string?, $map as element(lp:search-field-map)?,
$options as xs:string*)
as cts:query?
{
(: $options is ignored :)
lp:get-cts-query($qs, $map)
};
So the expected behavior of ignoring case does not come to pass and
instead we see the default behavior:
If neither "case-sensitive" nor "case-insensitive" is present, $text
is used to determine case sensitivity. If $text contains no uppercase,
it specifies "case-insensitive". If $text contains uppercase, it
specifies "case-sensitive".
Is this a bug in lib-search/lib-parser or intended behavior?
Thanks,
-- Bindu
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general