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

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

OK, then +1 on your plan to open another issue to flatten the structure and 
make it close this one. I suppose the only point in keeping the tree structure 
like MultiReader does is to still be able to call closed listeners on 
intermediate readers too, which ParallelCompositeReader also supports but by 
creating this {{completeReaderSet}}.

> 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