You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "kkewwei (via GitHub)" <gi...@apache.org> on 2025/06/13 03:56:28 UTC
[I] Only valid `collectors` should be taken into account when computing the `scoreMode` in `MultiCollector` [lucene]
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-unsubscribe@lucene.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] Only valid `collectors` should be taken into account when computing the `scoreMode` in `MultiCollector` [lucene]
Posted by "kkewwei (via GitHub)" <gi...@apache.org>.
kkewwei closed issue #14778: Only valid `collectors` should be taken into account when computing the `scoreMode` in `MultiCollector`
URL: https://github.com/apache/lucene/issues/14778
--
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-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org