On 9/26/2016 3:56 AM, Sandeep Khanzode wrote:
> Hi Alex, It seems that this is not an issue with AND clause. For
> example, if I do ... field1:value1 AND -field2:value2 ... the results
> seem to be an intersection of both. Is this an issue with OR? Which is
> which we replace it with an implicit (
;> Alex.
>>
>> Newsletter and resources for Solr beginners and intermediates:
>> http://www.solr-start.com/
>>
>>
>> On 26 September 2016 at 16:06, Sandeep Khanzode
>> wrote:
>>> Hi,
>>> If I query for
>>> -field1=value1 ... I
://www.solr-start.com/
>>
>>
>> On 26 September 2016 at 16:06, Sandeep Khanzode
>> wrote:
>>> Hi,
>>> If I query for
>>> -field1=value1 ... I get, say, 100 records
>>> and if I query for
>>> field2:value2 ... I may get 200 records
>
get, say, 100 records
>> and if I query for
>> field2:value2 ... I may get 200 records
>>
>> I would assume that if I query for
>> -field1:value1 OR field2:value2
>>
>> ... I should get atleast 100 records (assuming they overlap, if not, upto
>> 300 record
,
> If I query for
> -field1=value1 ... I get, say, 100 records
> and if I query for
> field2:value2 ... I may get 200 records
>
> I would assume that if I query for
> -field1:value1 OR field2:value2
>
> ... I should get atleast 100 records (assuming they overlap, if not,
lue1 ... I get, say, 100 records
> and if I query for
> field2:value2 ... I may get 200 records
>
> I would assume that if I query for
> -field1:value1 OR field2:value2
>
> ... I should get atleast 100 records (assuming they overlap, if not, upto 300
> records). I am a
query for
> -field1:value1 OR field2:value2
>
> ... I should get atleast 100 records (assuming they overlap, if not, upto 300
> records). I am assuming that the default joining is OR.
> But I do not ...
> The result is that I get less than 100. If I didn't know better, I would
Hi,
If I query for
-field1=value1 ... I get, say, 100 records
and if I query for
field2:value2 ... I may get 200 records
I would assume that if I query for
-field1:value1 OR field2:value2
... I should get atleast 100 records (assuming they overlap, if not, upto 300
records). I am assuming
ards,
>
> Aurélien
>
> Le 26/02/2016 14:27, vitaly bulgakov a écrit :
>
>> Is there a difference when we put query in brackets?
>>
>>
>>
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/Is-it-different-q-field1-valu
we put query in brackets?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Is-it-different-q-field1-value1-OR-field2-value2-and-q-field1-value1-OR-field2-value2-tp4259976.html
Sent from the Solr - User mailing list archive at Nabble.com.
Is there a difference when we put query in brackets?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Is-it-different-q-field1-value1-OR-field2-value2-and-q-field1-value1-OR-field2-value2-tp4259976.html
Sent from the Solr - User mailing list archive at Nabble.com.
11 matches
Mail list logo