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 2015/07/30 17:40:05 UTC

[jira] [Created] (LUCENE-6708) TopFieldCollector sometimes calls Scorer.score() several times on the same doc

Adrien Grand created LUCENE-6708:
------------------------------------

             Summary: TopFieldCollector sometimes calls Scorer.score() several times on the same doc
                 Key: LUCENE-6708
                 URL: https://issues.apache.org/jira/browse/LUCENE-6708
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Minor


If the sort spec includes a sort field that needs scores, and if trackDocScores or trackMaxScore is set, then TopFieldCollectors may compute the score several times on the same document, once to check whether the hit is competitive, and once to update maxScore or to set the score on the ScoreDoc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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