I really doubt you want to do this. It's perfectly possible to host
multiple replicas
or multiple shards on the same Solr. So if you name the shards all "user6",
how
would they be distinguished?

Best,
Erick

On Mon, Feb 2, 2015 at 12:31 AM, Avanish Raju <yar...@gmail.com> wrote:

> Hi all,
>
> I'm learning to create collections by http for a new solr instance. To
> create a new collection called "*user6*", I tried the following:
>
> http://104.154.50.127:8983/solr/admin/collections?action=CREATE&name=*user6*
>
> &numShards=1&replicationFactor=2&property.instanceDir=*user6*&property.name=
> *user6*
>
> However, when I look at the status, instanceDir and dataDir are all fine,
> but the core name is instead: user6_shard1_replica1
>
> http://104.154.50.127:8983/solr/admin/cores?action=status
>
> What is the right way to provide the name of the cores for the collection?
>
> Thanks,
> Avanish
>

Reply via email to