[
https://issues.apache.org/jira/browse/LUCENE-9555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mayya Sharipova updated LUCENE-9555:
------------------------------------
Summary: Advance conjunction Iterator for two phase iteration (was: Sort
optimization failure if scorerIterator is already advanced)
> Advance conjunction Iterator for two phase iteration
> ----------------------------------------------------
>
> Key: LUCENE-9555
> URL: https://issues.apache.org/jira/browse/LUCENE-9555
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Mayya Sharipova
> Priority: Minor
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Some collectors provide iterators that can efficiently skip non-competitive
> docs. When using DefaultBulkScorer#score function we create a conjunction of
> scorerIterator and collectorIterator. The problem could be if scorerIterator
> has already been advanced. As collectorIterator always starts from a docID =
> -1, and for creation of conjunction iterator we need all of its
> sub-iterators to be on the same doc, the creation of conjunction iterator
> will fail.
> We need to create a conjunction between scorerIterator and collectorIterator
> only if scorerIterator has not been advanced yet.
> Relates to https://issues.apache.org/jira/browse/LUCENE-9280
> Relates to https://issues.apache.org/jira/browse/LUCENE-9541
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]