iamsanjay commented on code in PR #13319: URL: https://github.com/apache/lucene/pull/13319#discussion_r1587080630
########## lucene/core/src/java/org/apache/lucene/document/BinaryRangeFieldRangeQuery.java: ########## @@ -136,7 +136,18 @@ public float matchCost() { } }; - return new ConstantScoreScorer(this, score(), scoreMode, iterator); + final var scorer = new ConstantScoreScorer(this, score(), scoreMode, iterator); + return new ScorerSupplier() { Review Comment: +1 -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org