[
https://issues.apache.org/jira/browse/LUCENE-10258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450807#comment-17450807
]
ASF subversion and git services commented on LUCENE-10258:
----------------------------------------------------------
Commit 4f5b41a71c41e03ad8147e072126fcc17c959bde in lucene's branch
refs/heads/main from Greg Miller
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=4f5b41a ]
Add javadoc note in DoubleValuesSource (see LUCENE-10258) (#490)
> 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: 10m
> 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: [email protected]
For additional commands, e-mail: [email protected]