If the following query is executed, the result is different:
id:("1" "2") AND (-name_s:a) --> numFound is 0
id:("1" "2") AND -(name_s:a) --> numFound is 1
At 2020-04-08 14:56:26, "slly" <sll...@126.com> wrote:
>Hello Folks,
>We are using Solr 7.3.1, I write the following two lines of data into
>collection:
>id, name_s, age_i
>1, a, 10
>2, b, 10
>Use the following query syntax:
>-name_s:a OR age_i:10
>
>
>I think we should return two pieces of data, but actually only one piece of
>data:
>id, name_s, age_i
>2, b, 10
>
>
>Did I get it wrong? Looking forward to some valuable suggestions. Thanks.