Sounds like you need a PhraseQuery.

-----Original Message-----
From: madan mp [mailto:madan20...@gmail.com] 
Sent: Wednesday, July 17, 2013 7:40 AM
To: java-user@lucene.apache.org
Subject: query on exact match in lucene

how to get exact string match

ex- i am searching for file which consist of string "i am fine" but it use to 
throw file which consist string "am i fine " but i need those file having "i am 
fine"

please help me out on this one.....






                         regards

                             madan

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

Reply via email to