This is a Lucene limitation that negative-only boolean queries do not
match anything.
Solr works around this limitation for the top level only.
So when you do
+foo (-bar)
it won't match anything because the parens create a separate boolean
query with only a single negative clause.
+foo -bar
wil
Hi all,
I'm observing odd results when using parentheses to group two or more
terms in a solr query, some of which are negated (by prefixing the
term with '-' or 'NOT ')
For example, in the current stable version of solr, I indexed the
accompanying example docs:
[EMAIL PROTECTED]:~/solr/example/e