iprithv commented on code in PR #16069:
URL: https://github.com/apache/lucene/pull/16069#discussion_r3253041080


##########
lucene/core/src/java/org/apache/lucene/search/MaxScoreBulkScorer.java:
##########
@@ -53,9 +53,19 @@ final class MaxScoreBulkScorer extends BulkScorer {
   private final DocAndFloatFeatureBuffer docAndScoreBuffer = new 
DocAndFloatFeatureBuffer();
   private final DocAndScoreAccBuffer docAndScoreAccBuffer;
 
+  private final boolean loadFilterIntoBitset;
+  private final FixedBitSet filterWindowMatches = new 
FixedBitSet(INNER_WINDOW_SIZE);
+  private final WindowBits windowBits = new WindowBits();

Review Comment:
   yes. makes sense, we don't need extra two bitsets. replaced with a single 
FilterBits and lazy filterWindowMatches



-- 
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]

Reply via email to