If you are using edismax you need to use AND. So A AND B will ignore the stop 
word and apply the Boolean operator. You can configure edismax to ignore 
Boolean stop words that are lowercase.

Regards,

Bob

> On Mar 26, 2014, at 2:39 AM, abhishek jain <abhishek.netj...@gmail.com> wrote:
> 
> Hi Jack,
> You are right, i am using 'and' as a stop word in both indexing and query,
> 
> Should i use it only during  indexing?
> 
> thanks
> 
> 
> 
> On Tue, Mar 25, 2014 at 11:09 PM, Jack Krupansky 
> <j...@basetechnology.com>wrote:
> 
>> 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 in Phrase
>> 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
> 
> 
> 
> -- 
> Thanks and kind Regards,
> Abhishek jain
> +91 9971376767

Reply via email to