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

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

Commit 79aaa47931d86071d3fae64619da40e5ee7c22ed in lucene-solr's branch 
refs/heads/branch_8_10 from Nhat Nguyen
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=79aaa47 ]

LUCENE-10106: Add CHANGES entry


> Sort optimization mistakenly skips the first documents
> ------------------------------------------------------
>
>                 Key: LUCENE-10106
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10106
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/search
>    Affects Versions: main (9.0), 8.9
>            Reporter: Nhat Nguyen
>            Assignee: Nhat Nguyen
>            Priority: Major
>             Fix For: main (9.0), 8.10
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> [~romseygeek] and I looked into a test 
> [failure|https://github.com/elastic/elasticsearch/pull/73324] that occurs in 
> Elasticsearch with Lucene 9. The first documents of subsequent segments are 
> mistakenly skipped when sort optimization is enabled. We should initialize 
> `maxDocVisited` in NumericComparator to -1 instead of 0.



--
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