Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
5.0
-
None
-
None
Description
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).
Attachments
Issue Links
- is duplicated by
-
LUCENE-6772 MultiCollector should catch CollectionTerminatedException
- Closed