Honestly, throwing an exception on an empty booleanquery doesn't actually make sense to me in the first place. It might make just more sense to just ignore the whole query and log a warning. As far as I know Lucene also doesn't care about empty Boolean Queries.
|