: Hallo, : I do not really understand the query language of the SOLR-Queryparser.
http://www.lucidimagination.com/blog/2011/12/28/why-not-and-or-and-not/ The one comment i would add regarding your specific examples... : (!city:H*) OR zip:30* numFound: 2896 ...you can't have a boolean query -- the parens -- containing purely negative clauses like. that boolean query doesn't match anything, just just explcudes things. If the *entire* query is negative, then solr helps you out by implicitly making the negation relative to a query that matches all documents, but if you are creating boolean sub-queries with parens, then you need something "positive" in that sub-query to match some criteria X and then your negations provide exclusions from that criteria. -Hoss