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

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

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. non working patch.patch
          0.7 kB
          Sally Ang
        2. TestBlockJoin.patch
          2 kB
          Sally Ang
        3. working patch.patch
          0.6 kB
          Sally Ang
        4. testout.txt
          591 kB
          Sally Ang
        5. LUCENE-5220.patch
          3 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: