(2014/03/26 2:29), abhishek jain wrote:
hi friends,

when i search for "A and B" it gives me result for A , B , i am not sure
why?

Please guide how can i exact match when it is within phrase/quotes.

Generally speaking (w/ LuceneQParser), if you want phrase match results,
use quotes, i.e. q="A B". If you want results which contain both terms A
and B, do not use quotes but boolean operator AND, i.e. q=A AND B.

koji
--
http://soleami.com/blog/comparing-document-classification-functions-of-lucene-and-mahout.html

Reply via email to