You removed the node by deleting directories. Therefore
Zookeeper still has a record for shard2_replica2
and shard1_replica2. When you added a new replica, it
had to choose a new name and those were already
taken, thus the "replica3" parts.
And that's the same explanation for why you have two "dow
Hi, Erick
I just know that ADDREPLICA command is for it.
At that time writting my question, I just tried command
http://localhost:8984/solr/admin/collections?action=ADDREPLICA&collection=cloudexample&shard=shard1&node=localhost:8984_solr.
But it returned an error.
Now I know what the problem is.
No
Let Solr do it for you. In this case use the collections API
ADDREPLICA command. You tell it what collection and
shard you want replicated, it'll create the right structure in the
right place and synch the index.
See:
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI