[ 
https://issues.apache.org/jira/browse/SOLR-4823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658700#comment-13658700
 ] 

Jan Høydahl commented on SOLR-4823:
-----------------------------------

Yea, load balancing should be handled separately for cloud.

How is LB for cloud handled today? Does it roundrobin between all noes in 
cluster, or does it intelligently load balance only between nodes which have a 
core in the collection? And what if you specify an explicit shard ID, will it 
load balance between all replicas in that shard only?
                
> Split LBHttpSolrServer into two classes one for the solrj use case and one 
> for the solr cloud use case
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4823
>                 URL: https://issues.apache.org/jira/browse/SOLR-4823
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: philip hoy
>            Priority: Minor
>
> The LBHttpSolrServer has too many responsibilities. It could perhaps be 
> broken into two classes, one in solrj to be used in the place of an external 
> load balancer that balances across a known set of solr servers defined at 
> construction time and one in solr core to be used by the solr cloud 
> components that balances across servers dependant on the request.
> To save code duplication, if much arises an abstract bass class could be 
> introduced in to solrj.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to