Closed
Description
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.
I'm pleasure to fix it.