Hello Apache Lucene team members,
I have found that constructing a BooleanQuery with just a BooleanClause.Occur.MUST_NOT will return no results. It will return results is if there is also a BooleanClause.Occur.MUST as part of the query as well though.
I don't see this limitation with a BooleanQuery with just a BooleanClause.Occur.MUST (i.e. results will return fine if they match).
Is this by design or is this an issue?
Thanks You,
Nissim Shiman
I have found that constructing a BooleanQuery with just a BooleanClause.Occur.MUST_NOT will return no results. It will return results is if there is also a BooleanClause.Occur.MUST as part of the query as well though.
I don't see this limitation with a BooleanQuery with just a BooleanClause.Occur.MUST (i.e. results will return fine if they match).
Is this by design or is this an issue?
Thanks You,
Nissim Shiman