On 8/9/2018 7:31 PM, tapan1707 wrote:
I believe correct formats for OR search query are the following: id:(id1 or id2) id:id1 or id:id2
The correct form for an OR query is an uppercase "OR". The lowercase "or" won't do the same thing -- typically it will be interpreted as just another search term.
When using the edismax query parser, there is a parameter lowercaseOperators that (if set to true) will cause Solr to interpret the lowercase version as an operator. This *only* works with the edismax query parser. The default setting for lowercaseOperators was true before 7.0, in 7.0 the default was changed to false.
I have no idea why one node would work differently than another. That sort of thing doesn't normally happen.
Thanks, Shawn