[ https://issues.apache.org/jira/browse/LUCENE-9599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mayya Sharipova resolved LUCENE-9599. ------------------------------------- Fix Version/s: 8.8 Resolution: Fixed > 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