lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Solanki <nitinml...@gmail.com>
Subject Re: Add replica on shards
Date Wed, 18 Mar 2015 07:26:23 GMT
Any help please...

On Wed, Mar 18, 2015 at 12:02 PM, Nitin Solanki <nitinmlvya@gmail.com>
wrote:

> 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