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 this command -

http://serv001:5258/solr/admin/collections?action=CREATE&name=Main&numShards=2&maxShardsPerNode=1&createNodeSet=
 serv001:5258_solr, serv002:5258_solr

Response -

<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">3932</int>
</lst>
<lst name="success">
<lst>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">2982</int>
</lst>
<str name="core">Main_shard2_replica1</str>
</lst>
<lst>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">3005</int>
</lst>
<str name="core">Main_shard1_replica1</str>
</lst>
</lst>
</response>

I want to know what *_replica1 or *_replica2 means?  Are they actually
replicas and not the shards?  I intended to add 2 more nodes as dedicated
replication nodes.  How to accomplish that?

Would appreciate any pointers.

-E

Reply via email to