lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Solanki <nitinml...@gmail.com>
Subject Add replica on shards
Date Wed, 18 Mar 2015 06:32:52 GMT
Hi,
         I have created 8 shards on a collection named as ***wikingram**.
Now at that time, I were not created any replica. Now, I want to add a
replica on each shard. How can I do?
I created this - ** sudo curl
http://localhost:8983/solr/admin/collections?action=ADDREPLICA&collection=wikingram&shard=shard1&node=localhost:8983_solr**
but it is not working.

It throws errror -


<response>
<lst name="responseHeader">
<int name="status">400</int>
<int name="QTime">86</int>
</lst>
<str name="Operation ADDREPLICA caused
exception:">org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
Could not find collection : null</str>
<lst name="exception">
<str name="msg">Could not find collection : null</str>
<int name="rspCode">400</int>
</lst>
<lst name="error">
<str name="msg">Could not find collection : null</str>
<int name="code">400</int>
</lst>
</response>

Any help on this?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message