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 jwar...@whitepages.com wrote:
You need to
I am trying to setup 2 shard cluster with 2 replicas with dedicated nodes
for replicas. I have 4 node SolrCloud setup that I am trying to shard
using collections api .. (Like
https://wiki.apache.org/solr/SolrCloud#Example_C:_Two_shard_cluster_with_shard_replicas_and_zookeeper_ensemble
)
I ran
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 probably
On Mon, Sep 8, 2014 at 3:11 PM, Erick Erickson erickerick...@gmail.com 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
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.
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