You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2017/02/27 12:11:45 UTC

[jira] [Created] (LUCENE-7713) Optimize TopFieldDocCollector for the sorted case

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org