You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Greg Miller (Jira)" <ji...@apache.org> on 2021/11/30 03:31:00 UTC
[jira] [Resolved] (LUCENE-10258) DoubleValuesSource#fromScorer() should leverage ScoreCachingWrappingScorer
[ https://issues.apache.org/jira/browse/LUCENE-10258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Miller resolved LUCENE-10258.
----------------------------------
Resolution: Won't Fix
> DoubleValuesSource#fromScorer() should leverage ScoreCachingWrappingScorer
> --------------------------------------------------------------------------
>
> Key: LUCENE-10258
> URL: https://issues.apache.org/jira/browse/LUCENE-10258
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/search
> Reporter: Greg Miller
> Assignee: Greg Miller
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> DoubleValuesSource#fromScorer() is a helper method for wrapping a Scorable in a DoubleValues instance (providing the value of Scorable#score() as its value). It would be nice to leverage ScoreCachingWrappingScorer for this use-case to avoid unnecessarily recomputing the score if the Scorable is being used elsewhere.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org