costin commented on code in PR #16141:
URL: https://github.com/apache/lucene/pull/16141#discussion_r3316674785


##########
lucene/core/src/java/org/apache/lucene/search/ConstantScoreScorer.java:
##########
@@ -147,6 +147,10 @@ public float score() throws IOException {
     return score;
   }
 
+  boolean canBulkCollectDocIdStream() {
+    return scoreMode != ScoreMode.TOP_SCORES;
+  }

Review Comment:
   I can take this as a follow-up as it touches broader collector/scorer API 
semantics.



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