Re: Add replica on shards
U can do the same simply by something like that http://localhost:8983/solr/admin/cores?action=CREATEcollection=wikingramname=ANY_NAME_HEREshard=shard1 The main part is shard=shard1, when you create core with existing shard (core name doesn't matter, we use collection_shard1_replica2, but u can do whatever u want), this core becomes a replica and copies data from leading shard. -- View this message in context: http://lucene.472066.n3.nabble.com/Add-replica-on-shards-tp4193659p4193732.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Add replica on shards
Thanks Norgorn. I did the same thing but in different manner.. like - localhost:8983/solr/admin/cores?action=CREATEname=wikingram_shard4_replica3collection=wikingramproperty.shard=shard4 On Wed, Mar 18, 2015 at 7:20 PM, Norgorn lsunnyd...@mail.ru wrote: U can do the same simply by something like that http://localhost:8983/solr/admin/cores?action=CREATEcollection=wikingramname=ANY_NAME_HEREshard=shard1 The main part is shard=shard1, when you create core with existing shard (core name doesn't matter, we use collection_shard1_replica2, but u can do whatever u want), this core becomes a replica and copies data from leading shard. -- View this message in context: http://lucene.472066.n3.nabble.com/Add-replica-on-shards-tp4193659p4193732.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Add replica on shards
Any help please... On Wed, Mar 18, 2015 at 12:02 PM, Nitin Solanki nitinml...@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=ADDREPLICAcollection=wikingramshard=shard1node=localhost:8983_solr** but it is not working. It throws errror - response lst name=responseHeader int name=status400/int int name=QTime86/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=msgCould not find collection : null/str int name=rspCode400/int /lst lst name=error str name=msgCould not find collection : null/str int name=code400/int /lst /response Any help on this?
Add replica on shards
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=ADDREPLICAcollection=wikingramshard=shard1node=localhost:8983_solr** but it is not working. It throws errror - response lst name=responseHeader int name=status400/int int name=QTime86/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=msgCould not find collection : null/str int name=rspCode400/int /lst lst name=error str name=msgCould not find collection : null/str int name=code400/int /lst /response Any help on this?