lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mufaddal Khumri <>
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 

Whats the best way to accomplish this?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message