My created collection in solr cloud below [cid:4461af25-67be-4647-b9e5-766d3e2a2602] 10.38.33.24 is shard and its replica is 10.38.33.27. 10.38.33.227 is shard and its replica is 10.38.33.219.
I want to create a new collection on the Same. can not change the shard IP for the new collection. How can I? ________________________________ From: sudhir kumar <gogikarsud...@gmail.com> Sent: Thursday, January 2, 2020 2:01 PM To: solr-user@lucene.apache.org <solr-user@lucene.apache.org> Subject: Re: Solr 8.3 sample url to create collection: http//host:8080/solr/admin/collections?action=CREATE&name=collectionname&numShards=2&replicationFactor=3&maxShardsPerNode=2&createNodeSet= host:8080_solr,host:8080_solr,host:8080_solr,host:8080_solr &collection.configName=collectionconfig On Thu, Jan 2, 2020 at 1:56 PM sudhir kumar <gogikarsud...@gmail.com> wrote: > 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 >> >