[
https://issues.apache.org/jira/browse/LUCENE-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-5520:
---------------------------------------
Attachment: LUCENE-5220.patch
Sally, could you try this patch?
I added a check, when we try to jump to the first child for a given doc, to
detect the case when that parent has 0 child docs, and then continue in the
parent loop if so.
> ArrayIndexOutOfBoundException in ToChildBlockJoinQuery when there's a deleted
> parent without any children
> ---------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-5520
> URL: https://issues.apache.org/jira/browse/LUCENE-5520
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/join
> Affects Versions: 4.2, 4.7
> Reporter: Sally Ang
> Assignee: Michael McCandless
> Attachments: LUCENE-5220.patch, TestBlockJoin.patch, non working
> patch.patch, testout.txt, working patch.patch
>
>
> This problem is found in lucene 4.2.0 and reproduced in 4.7.0
> In our app when we delete a document we always delete all the children.
> But not all parents have children. The exception happen for us when the
> parent without children is deleted.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]