-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 5.0
-
Fix Version/s: None
-
Component/s: core/search
-
Labels:None
The javadoc of the collect-method of LeafCollector states:
Note: The collection of the current segment can be terminated by throwing a CollectionTerminatedException.
However, the Multicollector does not catch this exception, so if one of the wrapped collectors terminates the current segment, it is terminated for every collector.
The same is true for the getLeafCollector-method (even though this is not documented in the JavaDoc).
- is duplicated by
-
LUCENE-6772 MultiCollector should catch CollectionTerminatedException
-
- Closed
-