lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slly <sll...@126.com>
Subject Use boolean operator "-", the result is incorrect
Date Wed, 08 Apr 2020 06:56:26 GMT
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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message