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

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

Commit b73e87aa9e930879abe989a24867b2012db56d21 in lucene-solr's branch 
refs/heads/branch_8x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b73e87a ]

LUCENE-9599: fix compilation issue in Java 8


> Disable sort optimization in comparators on index sort
> ------------------------------------------------------
>
>                 Key: LUCENE-9599
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9599
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Mayya Sharipova
>            Priority: Minor
>             Fix For: 8.8
>
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> LUCENE-9280 introduced an ability for comparators to skip non-competitive 
> documents. But currently comparators are not aware of index sorting, and can 
> run sort optimization even when search sort is congruent with the index sort.
> As the early termination in this case is already handled in 
> TopFieldCollector, we need to disable sort optimization in comparators. 



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