[MarkLogic Dev General] Ignoring customized noise words in element value query
Danny.Sokolsky at marklogic.com
Thu Jun 3 17:17:46 PDT 2010
If you are going to do this, I would not use an element-value-query. There is no concept of "noise words", and the phrase "rented house in delhi" does not match "rented house delhi". If you want that to match, I would use an element-word-query instead and not pass it a phrase. Something like:
let $y := "Rented House in Delhi"
for $x in fn:tokenize($y, " ")
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Pragya Kapoor
Sent: Thursday, June 03, 2010 2:50 AM
To: general at developer.marklogic.com
Subject: [MarkLogic Dev General] Ignoring customized noise words in element value query
I have to ignore the noise words(this would be a list of words which I give) in element value query.
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.
Please let me know how this can be achieved.
More information about the General