[jira] [Commented] (LUCENE-5520) ArrayIndexOutOfBoundException in ToChildBlockJoinQuery when there's a deleted parent without any children

2014-03-17 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on LUCENE-5520:
-

Commit 1578525 from [~rcmuir] in branch 'dev/branches/lucene_solr_4_7'
[ https://svn.apache.org/r1578525 ]

LUCENE-5520: fix AIOOBE from ToChildBlockJoinQuery when a parent has no children

> 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
> Fix For: 4.8, 5.0, 4.7.1
>
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5520) ArrayIndexOutOfBoundException in ToChildBlockJoinQuery when there's a deleted parent without any children

2014-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on LUCENE-5520:
-

Commit 1577078 from [~mikemccand] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1577078 ]

LUCENE-5520: fix AIOOBE from ToChildBlockJoinQuery when a parent has no children

> 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
> Fix For: 4.8, 5.0
>
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5520) ArrayIndexOutOfBoundException in ToChildBlockJoinQuery when there's a deleted parent without any children

2014-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on LUCENE-5520:
-

Commit 1577076 from [~mikemccand] in branch 'dev/trunk'
[ https://svn.apache.org/r1577076 ]

LUCENE-5520: fix AIOOBE from ToChildBlockJoinQuery when a parent has no children

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5520) ArrayIndexOutOfBoundException in ToChildBlockJoinQuery when there's a deleted parent without any children

2014-03-13 Thread Michael McCandless (JIRA)

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

Michael McCandless commented on LUCENE-5520:


Thanks Sally, I'll commit this fix.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5520) ArrayIndexOutOfBoundException in ToChildBlockJoinQuery when there's a deleted parent without any children

2014-03-12 Thread Sally Ang (JIRA)

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

Sally Ang commented on LUCENE-5520:
---

I've tried the patch. It work for us.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5520) ArrayIndexOutOfBoundException in ToChildBlockJoinQuery when there's a deleted parent without any children

2014-03-12 Thread Michael McCandless (JIRA)

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

Michael McCandless commented on LUCENE-5520:


Unfortunately, we are not allowed to check acceptDocs with parent docIDs: that 
bitset is only "valid" for child documents.  This is because the primary search 
is against children, and IndexSearcher could pass a Filter "down low" as the 
acceptDocs.

This also means that your app really must delete all child documents for a 
given parent, if you never want to see that parent; but really it's best to 
delete parent + all children, whenever you want to delete.

I have an idea for a possible fix ... I'll test and post a patch.

> 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: 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org