epotyom commented on code in PR #16952:
URL: https://github.com/apache/lucene/pull/16952#discussion_r4738075381


##########
lucene/core/src/test/org/apache/lucene/search/TestConstantScoreBulkScorer.java:
##########
@@ -27,6 +34,36 @@
 
 public class TestConstantScoreBulkScorer extends LuceneTestCase {
 
+  public void testNumericRangeWindowStopsAtMaxDoc() throws IOException {

Review Comment:
   I tried this test without the non-test changes in the PR, and it still 
passes. It seems to depend only on the `maxDoc` change in the `collect` helper 
below, and I'm not sure a test for a test helper adds much value. Maybe we 
could drop it, or rewrite it to go through `IndexSearcher` (and move it to 
`TestIndexSearcher`)? WDYT?



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