Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
New
Description
This was reported on the userlist, in the context of range queries.
Its also easy to make our existing tests fail with my patch on LUCENE-2751:
ant test-core -Dtestcase=TestBoolean2 -Dtestmethod=testRandomQueries -Dtests.seed=7679849347282878725:-903778383189134045
The fundamental problem is that MultiSearcher first rewrites against individual subs,
then uses Query.combine() which simply OR's these sub-clauses.
This is incorrect for expanded MUST_NOT queries (e.g. from wildcard), as it violates demorgan's law.
Attachments
Attachments
Issue Links
- is duplicated by
-
LUCENE-3096 MultiSearcher does not work correctly with Not on NumericRange
- Closed
- is superceded by
-
LUCENE-2837 Collapse Searcher/Searchable/IndexSearcher; remove contrib/remote; merge PMS into IndexSearcher
- Closed