Create a Replica of an Existing Shard
You can create additional replicas of existing shards using the
solrctl
utility.
To create additional replicas of existing shards, use the following command:
solrctl core --create <newCore> -p collection=<collectionName> \
-p shard=<shardToReplicate>
For example, to create a new replica of the collection named
collection1
that is comprised of shard1
, use the
following command:
solrctl core --create collection1_shard1_replica2 \
-p collection=collection1 -p shard=shard1