[ https://issues.apache.org/jira/browse/LUCENE-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler updated LUCENE-3534: ---------------------------------- Attachment: LUCENE-3534.patch Here the easy implementation, that simply removes code duplication and uses the same scorer for both implementations (IS and FQ). This patch uses a hack, to provide access to the wrapped scorer from inside IndexSearcher. This is all with no public API change at all. > Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from > IndexSearcher and delegate to FilteredQuery > ------------------------------------------------------------------------------------------------------------------------- > > Key: LUCENE-3534 > URL: https://issues.apache.org/jira/browse/LUCENE-3534 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Uwe Schindler > Assignee: Uwe Schindler > Attachments: LUCENE-3534.patch > > > Spinoff from LUCENE-1536: We simplified the code in IndexSearcher to no > longer do the filtering there, instead wrap all Query with FilteredQuery, if > a non-null filter is given. The conjunction code would then only exist in > FilteredQuery which makes it easier to maintain. Currently both > implementations differ in 3.x, in trunk we used the more optimized > IndexSearcher variant with addition of a simplified in-order conjunction code. > This issue will backport those changes (without random access bits). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org