Christoph Kaser created LUCENE-6326:
---------------------------------------
Summary: MultiCollector does not handle
CollectionTerminatedException correctly
Key: LUCENE-6326
URL: https://issues.apache.org/jira/browse/LUCENE-6326
Project: Lucene - Core
Issue Type: Bug
Components: core/search
Affects Versions: 5.0
Reporter: Christoph Kaser
Priority: Minor
The javadoc of the *collect*-method of LeafCollector states:
bq. 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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]