field type analyzer look like?
I suspect that you have a stop filter which cause and to be removed.
-- Jack Krupansky
-Original Message- From: abhishek jain Sent: Tuesday, March 25,
2014 1:29 PM To: solr-user@lucene.apache.org Subject: AND not as a
boolean operator in Phrase
filter which cause and to be removed.
-- Jack Krupansky
-Original Message- From: abhishek jain Sent: Tuesday, March 25,
2014 1:29 PM To: solr-user@lucene.apache.org Subject: AND not as a
boolean operator in Phrase
hi friends,
when i search for A and B it gives me result
filter which cause and to be removed.
-- Jack Krupansky
-Original Message- From: abhishek jain Sent: Tuesday, March 25,
2014 1:29 PM To: solr-user@lucene.apache.org Subject: AND not as a
boolean operator in Phrase
hi friends,
when i search for A and B it gives me result for A , B
filter which cause and to be removed.
-- Jack Krupansky
-Original Message- From: abhishek jain Sent: Tuesday, March 25,
2014 1:29 PM To: solr-user@lucene.apache.org Subject: AND not as a
boolean operator in Phrase
hi friends,
when i search for A and B it gives me result for A , B , i
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.
--
Thanks and kind Regards,
Abhishek jain
What does your field type analyzer look like?
I suspect that you have a stop filter which cause and to be removed.
-- Jack Krupansky
-Original Message-
From: abhishek jain
Sent: Tuesday, March 25, 2014 1:29 PM
To: solr-user@lucene.apache.org
Subject: AND not as a boolean operator
(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.
Better to user '+A +B' rather than AND/OR, see:
http://searchhub.org/2011/12/28/why-not-and-or-and-not/
François
On Mar 25, 2014, at 10:21 PM, Koji Sekiguchi k...@r.email.ne.jp wrote:
(2014/03/26 2:29), abhishek jain wrote:
hi friends,
when i search for A and B it gives me result