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

Several ToParentBlockJoinQuery/Collector issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.3.1, 6.0
    • modules/join
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: