CustomerID is a string CustomerName is text I have a query like this (i.e. (CustomerID is NULL or CustomerID = 56789) and (CustomerName like smith)):
((-(CustomerID: [* TO *])) OR (CustomerID: 56789))AND(CustomerName:"smith") Number of results: 150 (Not correct) But when I change the query to ((-(CustomerID: [* TO *])) OR (CustomerID: 56789))+(CustomerName:"smith") Number of results: 340 (Correct) Why is that? Where can I read more about + vs AND in solr querying? How does the order of query clauses matter? Thanks in advance