You can have replication policies if you don’t want to replicate manually, but 
automatically:

https://lucene.apache.org/solr/guide/7_1/solrcloud-autoscaling-auto-add-replicas.html


>> Am 31.10.2019 um 15:55 schrieb Pranaya Behera <behera.pran...@gmail.com>:
> So my setup is this:
> 1 node
> 1 collection (created via collection API)
> 1 shard
> 1 replica
> This node is connected to zookeeper.
> 
> Now let's say I added one more node to the zookeeper, this node is new,
> hence there won't be any collection created for me automatically. It is a
> barebane node i.e. connected to the same cluster. Is there a way to sync
> the data in node 2 which doesn't have a collection as it is joined recently
> and also no collection has been created.
> 
>> On Thu, 31 Oct, 2019, 5:58 PM Jörn Franke, <jornfra...@gmail.com> wrote:
>> 
>> You need to create a replica of the collection on the  other node:
>> 
>> https://lucene.apache.org/solr/guide/6_6/collections-api.html
>> 
>> See addreplica
>> 
>>>> Am 31.10.2019 um 09:46 schrieb Pranaya Behera <behera.pran...@gmail.com
>>> :
>>> Hi,
>>>    I have one node started with solrcloud. I have created one collection
>>> with the default configsets. When I am creating another node joining the
>>> same cluster i.e. zookeeper chroot, is there any way to create the
>>> collection ? Currently it is just sitting idle, not doing any work.
>>> In the documentation it is not mentioned about this. Only replicas and
>>> shards.
>>> While a new node joins the cluster, is there a way to propagate the
>>> collection creation and later all the shards/replicas being created
>>> accordingly?
>>> --
>>> Thanks & Regards
>>> Pranaya PR Behera

Reply via email to