[
https://issues.apache.org/jira/browse/LUCENE-10636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562453#comment-17562453
]
ASF subversion and git services commented on LUCENE-10636:
----------------------------------------------------------
Commit 3dd9a5487c2c3994abdaf5ab0553a3d78ebe50ab in lucene's branch
refs/heads/main from Adrien Grand
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=3dd9a5487c2 ]
LUCENE-10636: Avoid computing the same scores multiple times. (#1005)
`BlockMaxMaxscoreScorer` would previously compute the score twice for essential
scorers.
Co-authored-by: zacharymorn <[email protected]>
> Could the partial score sum from essential list scores be cached?
> -----------------------------------------------------------------
>
> Key: LUCENE-10636
> URL: https://issues.apache.org/jira/browse/LUCENE-10636
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Zach Chen
> Priority: Minor
> Time Spent: 50m
> Remaining Estimate: 0h
>
> This is a follow-up issue from discussion
> [https://github.com/apache/lucene/pull/972#discussion_r909300200] . Currently
> in the implementation of BlockMaxMaxscoreScorer, there's duplicated
> computation of summing up scores from essential list scorers. We would like
> to see if this duplicated computation can be cached without introducing much
> overhead or data structure that might out-weight the benefit of caching.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]