Re: Strange boolean query behaviour on 5.5.4

2017-07-05 Thread Bram Van Dam
On 04/07/17 18:10, Erick Erickson wrote: > I think you'll get what you expect by something like: > (*:* -someField:Foo) AND (otherField: (Bar OR Baz)) Yeah that's what I figured. It's not a big deal since we generate Solr syntax using a parser/generator on top of our own query syntax. Still a litt

Re: Strange boolean query behaviour on 5.5.4

2017-07-04 Thread Erick Erickson
First of all, Solr doesn't implement strict boolean logic, see Hoss' explanation here: https://lucidworks.com/2011/12/28/why-not-and-or-and-not/ And bare "not" operators are a pain. There's actually _some_ trickery _some_ places to help you out (fq clauses come to mind) and prepend *:* for you. I