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

Add top-down version of BlockJoinQuery

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

        1. LUCENE-3685.patch
          96 kB
          Michael McCandless

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: