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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2, 4.7
    • Fix Version/s: 4.7.1, 4.8, 6.0
    • Component/s: modules/join
    • Labels:
      None
    • Lucene Fields:
      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. LUCENE-5220.patch
          3 kB
          Michael McCandless
        2. non working patch.patch
          0.7 kB
          Sally Ang
        3. TestBlockJoin.patch
          2 kB
          Sally Ang
        4. testout.txt
          591 kB
          Sally Ang
        5. working patch.patch
          0.6 kB
          Sally Ang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: