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 2022/07/19 22:47:00 UTC

[jira] [Resolved] (LUCENE-10653) Should BlockMaxMaxscoreScorer rebuild its heap in bulk?

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

Greg Miller resolved LUCENE-10653.
----------------------------------
    Fix Version/s: 9.3
         Assignee: Greg Miller
       Resolution: Fixed

> Should BlockMaxMaxscoreScorer rebuild its heap in bulk?
> -------------------------------------------------------
>
>                 Key: LUCENE-10653
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10653
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: Greg Miller
>            Assignee: Greg Miller
>            Priority: Minor
>             Fix For: 9.3
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> BMMScorer has to frequently rebuild its heap, and does do by clearing and then iteratively calling {{{}add{}}}. It would be more efficient to heapify in bulk. This is more academic than anything right now though since BMMScorer is only used with two-clause disjunctions, so it's sort of a silly optimization if it's not supporting a greater number of clauses.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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