Re: Setup cloud collection

2015-07-16 Thread Erick Erickson
Piling on to Shawn's comments. Leadership is a very misunderstood role when people start using SolrCloud, and it often gets conflated with the old "master" role in master/slave. There is, indeed, a small additional bit of processing that goes on on the leader node that's not done on replicas. But

Re: Setup cloud collection

2015-07-16 Thread solr . user . 1507
Thank you, very good explanation. Regards > On 16 Jul 2015, at 17:12, Shawn Heisey wrote: > >> On 7/16/2015 7:47 AM, solr.user.1...@gmail.com wrote: >> Thanks Shawn, but don't want to build something in front of Solr cloud to >> help Solr assign leader role to distribute load of indexing. >>

Re: Setup cloud collection

2015-07-16 Thread Shawn Heisey
On 7/16/2015 7:47 AM, solr.user.1...@gmail.com wrote: > Thanks Shawn, but don't want to build something in front of Solr cloud to > help Solr assign leader role to distribute load of indexing. > > Instead of doing this manual step (rebalance leaders) maybe one host should > not take the leader ro

Re: Setup cloud collection

2015-07-16 Thread solr . user . 1507
Thanks Shawn, but don't want to build something in front of Solr cloud to help Solr assign leader role to distribute load of indexing. Instead of doing this manual step (rebalance leaders) maybe one host should not take the leader role of multiple shards for same collection if the number of liv

Re: Setup cloud collection

2015-07-16 Thread Shawn Heisey
On 7/16/2015 5:51 AM, SolrUser2015 wrote: > Hi, I'm new to solr! > > So downloaded version 5.2 and modified the solr file so it allows me to > create a 5 node cluster: > >> 5 shards and replication factor 3 < > > Now I see that one node is marked as leader for 3 shards. > > So my question is,

Re: Setup cloud collection

2015-07-16 Thread SolrUser2015
I'm looking at the cloud graph in the admin UI. The black dots with green indicates same node as leader for three shards out of five. Regards > On 16 jul 2015, at 14:31, Esther-Melaine Quansah > wrote: > > If you’ve set numShards to 5, then your indexes are split evenly across all 5 > shard

Re: Setup cloud collection

2015-07-16 Thread Esther-Melaine Quansah
If you’ve set numShards to 5, then your indexes are split evenly across all 5 shards and they should all be considered leaders in charge of updating the replicas with new information. Could it be the case that 1 of your shards has 3 replicas and is the leader for that specific shard? What specif

Setup cloud collection

2015-07-16 Thread SolrUser2015
Hi, I'm new to solr! So downloaded version 5.2 and modified the solr file so it allows me to create a 5 node cluster: > 5 shards and replication factor 3 < Now I see that one node is marked as leader for 3 shards. So my question is, how can 1 node serve requests for 3 shards, wouldn't that be