Re: Question about session affinity and SolrCloud

2015-02-14 Thread Shalin Shekhar Mangar
Comments inline: On Sun, Feb 15, 2015 at 2:09 AM, jaime spicciati wrote: > All, > This is my current understanding of how SolrCloud load balancing works... > > Within SolrCloud, for a cluster with more than 1 shard and at least 1 > replica, the Zookeeper aware SolrJ client uses LBHTTPSolrServer

Re: Question about session affinity and SolrCloud

2015-02-14 Thread Jack Krupansky
I think you meant to say that the shard has MORE than 1 replica. If a shard has only 1 replica, then a query to that shard can only go to that one node. Also, the leader is by definition a replica as well. So, where you say "the leader or replica", that should be "a replica which may happen to be

Question about session affinity and SolrCloud

2015-02-14 Thread jaime spicciati
All, This is my current understanding of how SolrCloud load balancing works... Within SolrCloud, for a cluster with more than 1 shard and at least 1 replica, the Zookeeper aware SolrJ client uses LBHTTPSolrServer which is round robin across the replicas and leaders in the cluster. In turn the shar