Mayya Sharipova created LUCENE-9599:
---------------------------------------

             Summary: Make comparators aware of index sorting
                 Key: LUCENE-9599
                 URL: https://issues.apache.org/jira/browse/LUCENE-9599
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Mayya Sharipova


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]

Reply via email to