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

CloudSolrServer should choose URLs that match _route_

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.6.1
    • 4.8, 6.0
    • clients - java
    • None

    Description

      When using CloudSolrServer to issue a request with a route param, the URLs passed to LBHttpSolrServer should be filtered to include only hosts serving a slice. If there's a single shard listed, then the query can be served directly. Otherwise, the cluster services 3 /select requests for the query. As the host to replica ratio increases the probability of needing an extra hop goes to one, putting unnecessary strain on the cluster's network.

      Attachments

        1. SOLR-5715.patch
          2 kB
          Noble Paul
        2. SOLR-5715.patch
          2 kB
          Noble Paul
        3. SOLR-5715.patch
          9 kB
          Noble Paul

        Activity

          People

            noble.paul Noble Paul
            cbradford Chase Bradford
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: