zacharymorn commented on code in PR #1005:
URL: https://github.com/apache/lucene/pull/1005#discussion_r913203251
##########
lucene/core/src/java/org/apache/lucene/search/BlockMaxMaxscoreScorer.java:
##########
@@ -35,11 +34,13 @@ class BlockMaxMaxscoreScorer extends Scorer {
// heap of scorers ordered by doc ID
private final DisiPriorityQueue essentialsScorers;
- // list of scorers ordered by maxScore
- private final LinkedList<DisiWrapper> maxScoreSortedEssentialScorers;
-
+ // array of scorers ordered by maxScore
private final DisiWrapper[] allScorers;
+ // index of the first essential scorer is the `allScorers` array. All
scorers before this index
Review Comment:
```suggestion
// index of the first essential scorer in the `allScorers` array. All
scorers before this index
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]