[MarkLogic Dev General] Ignoring customized noise words in element value query
Pragya Kapoor
Pragya_Kapoor at infosys.com
Thu Jun 3 02:49:57 PDT 2010
Hi,
I have to ignore the noise words(this would be a list of words which I give) in element value query.
Eg:
Rented house in Delhi(title)
Now user types in Rented House Delhi/Rented House in Delhi
Both query should give the result. So, how can I include such a query in my additional query to make this work.
<additional-query>
{
cts:element-value-query(xs:QName("title"),$search, ("case-insensitive","unstemmed"))
}
</additional-query>
Please let me know how this can be achieved.
Thanks,
Pragya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20100603/cee4ba93/attachment.html
More information about the General
mailing list