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

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

Commit 16d25ace3f4c273d45284c0e7ebf9915b245995a in lucene-solr's branch 
refs/heads/branch_8x from Mayya Sharipova
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=16d25ac ]

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