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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org