[
https://issues.apache.org/jira/browse/LUCENE-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659788#comment-14659788
]
ASF subversion and git services commented on LUCENE-6708:
---------------------------------------------------------
Commit 1694442 from [~jpountz] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1694442 ]
LUCENE-6708: TopFieldCollector does not compute the score several times on the
same document anymore.
> 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
> Fix For: 5.4
>
> Attachments: LUCENE-6708.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]