Mayya Sharipova created LUCENE-9555:
---------------------------------------
Summary: Sort optimization failure if scorerIterator is already
advanced
Key: LUCENE-9555
URL: https://issues.apache.org/jira/browse/LUCENE-9555
Project: Lucene - Core
Issue Type: Bug
Reporter: Mayya Sharipova
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 that if
scorerIterator has already been advanced, while collectorIterator always starts
from a docID = -1.
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]