[
https://issues.apache.org/jira/browse/LUCENE-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless resolved LUCENE-2756.
----------------------------------------
Resolution: Fixed
Fix Version/s: 4.0
3.1
MultiSearcher is now deprecated/removed.
> MultiSearcher.rewrite() incorrectly rewrites queries
> ----------------------------------------------------
>
> Key: LUCENE-2756
> URL: https://issues.apache.org/jira/browse/LUCENE-2756
> Project: Lucene - Java
> Issue Type: Bug
> Components: Search
> Reporter: Robert Muir
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2756_testcase.patch
>
>
> 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:
> {noformat}
> ant test-core -Dtestcase=TestBoolean2 -Dtestmethod=testRandomQueries
> -Dtests.seed=7679849347282878725:-903778383189134045
> {noformat}
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]