A simplified version of the problem: text -(collection:pile1) works, while text (-collection:pile1) finds zero records. lance
_____ From: Lance Lance [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 5:58 PM To: 'solr-user@lucene.apache.org' Subject: Question on query syntax Are there any known bugs in the syntax parser? We're using lucene-2.2.0 and Solr 1.2. We have documents with searchable text and a field 'collection'. This query works as expected, finding everything except for collections 'pile1' and 'pile2'. text -(collection:pile1 OR collection:pile2) When we apply De Morgan's Law, we get 0 records: text (-collection:pile1 AND -collection:pile2) This should return all records, but it returns nothing: text (-collection:pile1 OR -collection:pile2) Thanks, Lance