Adrien Grand created LUCENE-7713:
------------------------------------

             Summary: Optimize TopFieldDocCollector for the sorted case
                 Key: LUCENE-7713
                 URL: https://issues.apache.org/jira/browse/LUCENE-7713
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Priority: Minor


When the sort order is a prefix of the index sort order, 
{{TopFieldDocCollector}} could skip reading doc values and comparing them 
against the bottom value after {{numHits}} documents have been collected, and 
just count matches.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to