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

Adrien Grand commented on LUCENE-6500:
--------------------------------------

Thank you Uwe for the patch, I see how it fixes the issue. I'm just wondering 
if returning the list of leaves instead of sub readers now in 
{{getSequentialSubReaders}} could break anything?

> ParallelCompositeReader does not always call closed listeners
> -------------------------------------------------------------
>
>                 Key: LUCENE-6500
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6500
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-6500-flatten.patch, LUCENE-6500.patch
>
>
> CompositeParallelReader misses to call closed listeners when the reader which 
> is provided at construction time does not wrap leaf readers directly, such as 
> a multi reader over directory readers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to