thanks Jack for your answer, however I'm not quite sure what to do with it:
the query is like +( someField_1:0 someField_2:0 ) +booleanField_1:false -( +( someField_1:0 someField_2:0 ) +booleanField_2:true ) (I put this in 'raw' before, think it might not have shown up in all ways of viewing this list). I don't think there is a mis-matched bracket at the end (there was in my textual description of this though), and I also don't see how this can be more fully bracketed. Kind regards Heikki Doeleman -- View this message in context: http://lucene.472066.n3.nabble.com/Question-about-BooleanQuery-tp4002822p4002836.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org