Here's a _very_ useful explanation of why the query syntax isn't pure Boolean:
https://lucidworks.com/blog/2011/12/28/why-not-and-or-and-not/

Best,
Erick

On Thu, Mar 10, 2016 at 12:30 AM, Anil <anilk...@gmail.com> wrote:
> Thank you Dikshant.
>
> On 10 March 2016 at 13:26, Dikshant Shahi <contacts...@gmail.com> wrote:
>
>> Hi,
>>
>> No, + and "and" doesn't works similar. Even "and" and "AND" would have a
>> different behavior (is configurable) in edismax.
>>
>> When you put a + before a term, you specify that it's mandatory. Hence,
>> "+google +india" will get you the same result as "google AND india".
>>
>> Best Regards,
>> *Dikshant Shahi*
>>
>>
>>
>> On Thu, Mar 10, 2016 at 12:59 PM, Anil <anilk...@gmail.com> wrote:
>>
>> >  "google"+"india" ,  "india"+"google" returning different results. Any
>> help
>> > would be appreciated.
>> >
>> > Thanks,
>> > Anil
>> >
>> >
>> > On 10 March 2016 at 11:47, Anil <anilk...@gmail.com> wrote:
>> >
>> > > HI,
>> > >
>> > > I am using edismax query parser for my solr search.
>> > >
>> > > i believe '+' and 'and' should work similar.
>> > >
>> > > ex : "google"+"india", "google" and "india" should return same number
>> of
>> > > results.
>> > >
>> > > Correct me if I am wrong. Thanks.
>> > >
>> > > Regards,
>> > > Anil
>> > >
>> > >
>> > >
>> >
>>

Reply via email to