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/09/07 10:03:46 UTC

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

     [ https://issues.apache.org/jira/browse/LUCENE-6326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christoph Kaser resolved LUCENE-6326.
-------------------------------------
       Resolution: Duplicate
    Lucene Fields:   (was: New)

> 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