[
https://issues.apache.org/jira/browse/LUCENE-9599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mayya Sharipova updated LUCENE-9599:
------------------------------------
Summary: Disable sort optimization in comparators on index sort (was: Make
comparators aware of index sorting)
> 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
> Time Spent: 2h 10m
> 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 are
> not able to early terminate when search sort is equal to index sort.
> Currently, if search sort is equal to index sort, we have an early
> termination in TopFieldCollector. As we work to rely on comparators to
> provide skipping functionality, we would like to move this termination
> functionality on index sort from
> TopFieldCollector to comparators.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]