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 14:08:56 GMT
Thanks Norgorn.
I did the same thing but in different manner..
like -

localhost:8983/solr/admin/cores?action=CREATE&name=wikingram_shard4_replica3&collection=wikingram&property.shard=shard4

On Wed, Mar 18, 2015 at 7:20 PM, Norgorn <lsunnydayl@mail.ru> wrote:

>
> U can do the same simply by something like that
>
>
> http://localhost:8983/solr/admin/cores?action=CREATE&collection=wikingram&name=ANY_NAME_HERE&shard=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.
>

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