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

Several ToParentBlockJoinQuery/Collector issues

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 6.0
    • Component/s: modules/join
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I hit several issues with ToParentBlockJoinQuery/Collector:

      • If a given Query sometimes has no child matches then we could hit
        AIOOBE, but should just get 0 children for that parent
      • TPBJC.getTopGroups incorrectly throws IllegalArgumentException
        when the child query happens to have no matches
      • We have checks that user didn't accidentally pass a child query
        that matches parent docs ... they are only assertions today but I
        think they should be real checks since it's easy to screw up

        Attachments

        1. LUCENE-4968.patch
          17 kB
          Michael McCandless

          Issue Links

            Activity

              People

              • Assignee:
                mikemccand Michael McCandless
                Reporter:
                mikemccand Michael McCandless
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: