Hey Vishal,

You can use createNodeSet property while creating collection which will
allows you to create shards on specified IP.

/admin/collections?action=CREATE&name=*name*&numShards=*number*
&replicationFactor=*number*&*maxShardsPerNode*=*number*&*createNodeSet*=
*nodelist*&collection.configName=*configname*


Thanks,

Sudhir


On Thu, Jan 2, 2020 at 1:49 PM vishal patel <vishalpatel200...@outlook.com>
wrote:

> When I am creating 2 shards and 2 replicas using admin panel, automatic
> assign a shard or replica to any IP.
> I want to make the specific shard or replica to solr instance at the time
> of creating a collection. Can I?
>
> Regards,
> Vishal
>

Reply via email to