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

Add query time parent child search

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/join
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      At the moment there is support for index time parent child search with two queries implementations and a collector. The index time parent child search requires that documents are indexed in a block, this isn't ideal for updatability. For example in the case of tv content and subtitles (both being separate documents). Updating already indexed tv content with subtitles would then require to also re-index the subtitles.

      This issue focuses on the collector part for query time parent child search. I started a while back with implementing this. Basically a two pass search performs a parent child search. In the first pass the top N parent child documents are resolved. In the second pass the parent or top N children are resolved (depending if the hit is a parent or child) and are associated with the top N parent child relation documents. Patch will follow soon.

        Attachments

        1. LUCENE-3938.patch
          62 kB
          Martijn van Groningen
        2. LUCENE-3938.patch
          54 kB
          Martijn van Groningen

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              martijn.v.groningen Martijn van Groningen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: