You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2014/03/20 09:08:44 UTC
[jira] [Issue Comment Deleted] (SOLR-5715) CloudSolrServer should
choose URLs that match _route_
[ https://issues.apache.org/jira/browse/SOLR-5715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-5715:
-----------------------------
Comment: was deleted
(was: {quote}
Collection<Slice> filteredSlices = coll.getRouter().getSearchSlices(route, reqParams , coll);
{quote}
The _fileredSlices_ only contain the relevant slices not *all* slices)
> CloudSolrServer should choose URLs that match _route_
> -----------------------------------------------------
>
> Key: SOLR-5715
> URL: https://issues.apache.org/jira/browse/SOLR-5715
> Project: Solr
> Issue Type: Improvement
> Components: clients - java
> Affects Versions: 4.6.1
> Reporter: Chase Bradford
> Assignee: Noble Paul
> Priority: Minor
> Fix For: 4.8, 5.0
>
> Attachments: SOLR-5715.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org