Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12400

SOLR Joins for multiple collections

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • faceting, multicore, search
    • None

    Description

      I have the below requirement and need help to know if it is achievable with JOINs or Block Join (Nested documents)-

      Data

      There are multiple tables, one primary table having all the basic details about product, the primary key is Product ID. There are 6-7 other tables having other details of product, it has Product ID column too but can have multiple entries for single Product ID.

      Can you please let me know if the below are possible-

      1. Can we get data from multiple collections in the search results. The results should contain only one record for a single product ID?
      2. Can we search across multiple collections in a single query and then club the results, so that final search results will have single result for each Product ID.
      3. Can we perform join on more than 2 collections as we need to search across 6-7 collections and then merge the data based on product ID.
      4. Can we query Parent and child in nested index at the same time. Example- perform search on column1 from Parent and Column2 from Child and get the parent records with nested child in search results?
      5. If we can perform fielded search across multiple collections in the single query,will the filters from different collections be returned in a single search response

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              g_nancy Nancy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: