romseygeek commented on issue #16953: URL: https://github.com/apache/lucene/issues/16953#issuecomment-6520991636
It's an existing test bug - we check against a hard limit of 10 documents expected to be collected, but we will collect at least one doc per segment before early termination kicks in so if we randomly have more than 7 segments then we collect 4 docs from the first segment, then one from each following segment, which gives more than 10. Easy to adjust, we just check that we have collected fewer documents than actually exist in the index. I'll open a PR -- 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]
