Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: modules/join
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Today, BlockJoinQuery can join from child docIDs up to parent docIDs.
      EG this works well for product (parent) + many SKUs (child) search.

      But the reverse, which BJQ cannot do, is also useful in some cases.
      EG say you index songs (child) within albums (parent), but you want to
      search and present by song not album while involving some fields from
      the album in the query. In this case you want to wrap a parent query
      (against album), joining down to the child document space.

      1. LUCENE-3685.patch
        96 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Patch, adding a new query, ToChildBlockJoinQuery, and renaming the
        previous BJQ to ToParentBlockJoinQuery, and updating the test
        case...

        I also uncovered a latent AIOOBE bug and fixed it...

        I think it's ready.

        Show
        Michael McCandless added a comment - Patch, adding a new query, ToChildBlockJoinQuery, and renaming the previous BJQ to ToParentBlockJoinQuery, and updating the test case... I also uncovered a latent AIOOBE bug and fixed it... I think it's ready.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development