You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2016/06/10 18:14:20 UTC

[jira] [Created] (LUCENE-7332) Better propagate two-phase iterators in conjunctions

Adrien Grand created LUCENE-7332:
------------------------------------

             Summary: Better propagate two-phase iterators in conjunctions
                 Key: LUCENE-7332
                 URL: https://issues.apache.org/jira/browse/LUCENE-7332
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Minor


I suspect it is very common to have a single two-phase iterator to check in a query tree. Yet, even in that case, the way the API works currently forces ConjunctionDISI to wrap it anyway in order to propagate it to the higher level. I'd like to explore changing the API so that the top-level scorer would directly call the two-phase iterator instead of going through multiple wrappers.

Then we might be able to add the same RandomAccessStratogy optimization as FilteredQuery had in case a two-phase iterator supports random-access and is expected to match many documents.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org