Re: Solr Sharding Help

2014-09-09 Thread Ethan
Thanks Jeff. I had different idea of how replicationFactor worked. I was able to create the setup with that command. Now as I import data into the cluster how can I determine that it's being sharding? On Mon, Sep 8, 2014 at 1:52 PM, Jeff Wartes wrote: > > You need to specify a replication fac

Re: Solr Sharding Help

2014-09-08 Thread Jeff Wartes
You need to specify a replication factor of 2 if you want two copies of each shard. Solr doesn¹t ³auto fill² available capacity, contrary to the misleading examples on the http://wiki.apache.org/solr/SolrCloud page. Those examples only have that behavior because they ask you to copy the examples d

Re: Solr Sharding Help

2014-09-08 Thread Ethan
Thanks Erick. That cleared my confusion. I have a follow up question - If I run the CREATE command with 4 nodes in createNodeSet, I thought 2 leaders and 2 followers will be created automatically. Thats not the case, however. http://serv001:5258/solr/admin/collections?action=CREATE&name=Main&nu

Re: Solr Sharding Help

2014-09-08 Thread Alexandre Rafalovitch
On Mon, Sep 8, 2014 at 3:11 PM, Erick Erickson wrote: > I've started a one-man > campaign to talk about "leaders" and "followers" when relevant Well, if you write it up on the Wiki/Manual and keep pointing people to it, maybe we will all fall in line. I, for one, do not care what terminology is a

Re: Solr Sharding Help

2014-09-08 Thread Erick Erickson
Ahhh, this is a continual source of confusion. I've started a one-man campaign to talk about "leaders" and "followers" when relevant... _Every_ node is a "replica". This is because a node can be a leader or follower, and the role can change. So your case is entirely normal. These nodes are probab