[ 
https://issues.apache.org/jira/browse/LUCENE-9565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208971#comment-17208971
 ] 

ASF subversion and git services commented on LUCENE-9565:
---------------------------------------------------------

Commit 874c446ab945aded465d12f01085af89b83563c6 in lucene-solr's branch 
refs/heads/master from Mayya Sharipova
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=874c446 ]

LUCENE-9565 Fix competitive iteration (#1952)

PR #1351 introduced a sort optimization where documents can be skipped.
But iteration over competitive iterators was not properly organized,
as they were not storing the current docID, and
when competitive iterator was updated the current doc ID was lost.

This patch fixed it.

Relates to #1351

> Fix iteration over competitive iterators
> ----------------------------------------
>
>                 Key: LUCENE-9565
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9565
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Mayya Sharipova
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> LUCENE-9280 introduced a sort optimization where documents can be skipped.
> But iteration over competitive iterators was not properly organized,
> as they were not storing the current docID, and
> when competitive iterator was updated the current doc ID was lost.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to