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

select?replicaAffinity=(node|host) and replicaAffinity.hostPriorities support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Later
    • None
    • None
    • None
    • None

    Description

      If no shards parameter is supplied with a select request then sub-requests will go to a random selection of live solr nodes hosting shards for the collection of interest. All sub-requests must complete before results can be collated i.e. the slowest sub-request determines how fast the search completes.

      Use of optional replicaAffinity can reduce the number of JVMs hit by a given search (the more JVMs are hit, the higher the chance of hitting a garbage collection pause in one of many JVMs). Preferentially directing requests to certain areas of the cloud can also be useful for debugging or when some replicas reside on 'faster' machines.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cpoerschke Christine Poerschke
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: