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

SearchHandler could prune uniqueKey queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • search
    • None

    Description

      When doing a query that includes an id, we should be able to prune which shards need to be distributed to.

      This can be done explicitly by the user with _route_, but I think Solr should be able to automatically infer that value in some cases.

      Other wish list items: we can potentially apply this to filter queries as well, or to aliases.

      The real-time-get handler already does intelligent routing to query only the relevant shards, hopefully that logic can be re-used.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: