You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/09/07 10:27:46 UTC

[jira] [Commented] (LUCENE-6326) MultiCollector does not handle CollectionTerminatedException correctly

    [ https://issues.apache.org/jira/browse/LUCENE-6326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733387#comment-14733387 ] 

Adrien Grand commented on LUCENE-6326:
--------------------------------------

Thanks Christoph , I had forgotten about this issue.

> 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