Hi all,
Please find the sample code snippet:
let $x := <p>The price(value) of anything is the amount of life you exchange
for it</p>
let $query := cts:or-query(cts:word-query("price(value)",
("case-insensitive","punctuation-insensitive","unstemmed","unwildcarded","lang=en"),
1))
return cts:highlight($x, $query, <b>{$cts:text}</b>)
The closing bracket is not getting highlighted when we specify the option as
"punctuation-insensitive", but its getting highlighted when we give it as
"punctuation-sensitive".
Can you please throw some light on this.
Regards,
Judy_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general