Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5520

ArrayIndexOutOfBoundException in ToChildBlockJoinQuery when there's a deleted parent without any children

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2, 4.7
    • 4.7.1, 4.8, 6.0
    • modules/join
    • None
    • New

    Description

      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.

      Attachments

        1. working patch.patch
          0.6 kB
          Sally Ang
        2. testout.txt
          591 kB
          Sally Ang
        3. TestBlockJoin.patch
          2 kB
          Sally Ang
        4. non working patch.patch
          0.7 kB
          Sally Ang
        5. LUCENE-5220.patch
          3 kB
          Michael McCandless

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mikemccand Michael McCandless
            angsaa Sally Ang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment