[
https://issues.apache.org/jira/browse/LUCENE-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14346901#comment-14346901
]
Adrien Grand commented on LUCENE-6337:
--------------------------------------
I added ToParentBlockJoinIndexSearcher as a hack so that
ToParentBlockJoinCollector still works. We should remove
ToParentBlockJoinCollector or fix it so that it does not depend on
Scorer.getChildren and the fact that sub scorers are positioned.
> ToParentBlockJoinIndexSearcher does not handle CollectionTerminatedException
> correctly
> --------------------------------------------------------------------------------------
>
> Key: LUCENE-6337
> URL: https://issues.apache.org/jira/browse/LUCENE-6337
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/join
> Affects Versions: 5.0
> Reporter: Christoph Kaser
>
> ToParentBlockJoinIndexSearcher overrides the search-method of IndexSearcher.
> However, unlike IndexSearcher, it does not catch the
> CollectionTerminatedException, which would allow a Collector to permaturely
> terminate the collection of a segment.
> This is an issue if this searcher is used for a search with a MultiCollector
> oder a collector other than ToParentBlockJoinCollector.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]