lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mufaddal Khumri <mkhu...@allegromedical.com>
Subject exact match ..
Date Mon, 20 Feb 2006 17:17:39 GMT
lets say i do this while indexing:

doc.add(Field.Text("categoryNames", categoryNames));

Now while searching categoryNames, I do a search for "digital cameras". 
I only want to match the exact phrase digital cameras with documents who 
have exactly the phrase "digital cameras" in the categoryNames field. I 
do not want results that have "digital camera batteries" part of the 
result.

Whats the best way to accomplish this?

thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message