SOLR ignores 'NOT' clause in query
----------------------------------
Key: SOLR-3315
URL: https://issues.apache.org/jira/browse/SOLR-3315
Project: Solr
Issue Type: Bug
Components: search
Affects Versions: 3.5
Environment: Windows, Java 7
Reporter: Tom Marsh
Priority: Critical
We have a simple domain where
FirstName_s:"Bob"
returns 40 documents, and
-Department_t:"Ninjas"
returns all of the documents (we don't have a ninja department).
We expected the query
(FirstName_s:"Bob") OR (-Department_t:"Ninjas")
to return all documents, however it only returned the original 40 documents.
We have experimented with a couple of different orderings, tried using 'NOT'
instead of '-' all to no avail.
Is this expected behavior? Perhaps more importantly, how do we get the behavior
we expect?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]