kkewwei opened a new issue, #14778: URL: https://github.com/apache/lucene/issues/14778
### Description During the retrieval of collectors via `collector.getLeafCollector(context)`, some invocations may throw a CollectionTerminatedException-indicating this leaf collector does not need this segment. However, when computing `scoreMode()`, we still factor in collectors that throw such exceptions, which seems logically inconsistent. [ CollectionTerminatedException e) {](https://github.com/apache/lucene/blob/424ef9d42e803a58036a63d303f08d287bc53ee7/lucene/core/src/java/org/apache/lucene/search/MultiCollector.java#L133) ### Version and environment details _No response_ -- 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.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