Ok looks like...I have to go to every node, add a replica individually,
create the cores and add them to the collection.
ex:
http://newNode1:port/solr/admin/cores?action=CREATE&name=testCloud1_shard1_replica3&collection=testCloud1&shard=shard1&collection.configName=myconf
http://newNode2:port/solr/admin/cores?action=CREATE&name=testCloud1_shard2_replica3&collection=testCloud1&shard=shard2&collection.configName=myconf
Is there an easier way to do this.
Any ideas.
Thanks,
Rishi.
-----Original Message-----
From: Rishi Easwaran <rishi.easwa...@aol.com>
To: solr-user <solr-user@lucene.apache.org>
Sent: Tue, May 14, 2013 2:58 pm
Subject: SOLR Cloud Collection Management quesiotn.
Hi,
I am beginning to work on SOLR cloud implementation.
I created a collection using the collections API
http://myhost:port/solr/admin/collections?action=CREATE&name=testCloud1&numShards=6&replicationFactor=2&collection.configName=myconf&maxShardsPerNode=1
My cluster now has 6 shards and 2 replicas (1 leader & 1 replica) for
each shard.
Now I want to add extra replicas to each shard in my cluster without
out changing the replicationFactor used to create the collection.
Any ideas on how to go about doing that.
Thanks,
Rishi.