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 2018/07/23 07:35:00 UTC

[jira] [Resolved] (LUCENE-8412) Remove trackDocScores from TopFieldCollector factory methods

     [ https://issues.apache.org/jira/browse/LUCENE-8412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-8412.
----------------------------------
       Resolution: Fixed
    Fix Version/s: master (8.0)

Thanks [~mikemccand] and [~romseygeek] for looking!

> Remove trackDocScores from TopFieldCollector factory methods
> ------------------------------------------------------------
>
>                 Key: LUCENE-8412
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8412
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: master (8.0)
>
>         Attachments: LUCENE-8412.patch
>
>
> Computing scores on top hits is fine, but the current way it is implemented - at collection time - requires to read/decode more freqs/norms and compute more scores than necessary. It would be more efficient to compute scores of top hits as a post-collection step by only advancing the scorer to hits that made the top-N list.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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