You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christoph Kaser (JIRA)" <ji...@apache.org> on 2015/03/02 16:18:04 UTC
[jira] [Created] (LUCENE-6326) MultiCollector does not handle
CollectionTerminatedException correctly
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org