Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
-
New, Patch Available
Description
We should at least in Lucene 4.0 remove the hack in BooleanFilter that allows pure negative Filter clauses. This is not supported by BooleanQuery and confuses users (I think that's the problem in LUCENE-3450).
The hack is buggy, as it does not respect deleted documents and returns them in its DocIdSet.
Also we should think about disallowing pure-negative Queries at all and throw UOE.
Attachments
Attachments
Issue Links
- supercedes
-
LUCENE-3450 BooleanQuery seems broken on trunk
- Resolved