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

Add top-down version of BlockJoinQuery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6, 4.0-ALPHA
    • modules/join
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: