In this link you can see what is what 
http://wiki.apache.org/solr/SolrCloud#Glossary 

The collection represents a single index, the solrCores AKA core, encapsulates 
a single physical index, One or more make up a logical shard which make up a 
collection.

You can have a collection with the same name of the SolrCore if you want.

-- 
Yago Riveiro
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Tuesday, April 2, 2013 at 1:53 PM, Anshum Gupta wrote:

> Also, I am assuming that the collection name in this case should be
> 'test2'. The replica names would be on the lines of what you've mentioned.
> Is that not the case?
> 
> 
> 
> On Tue, Apr 2, 2013 at 5:31 PM, Lukasz Kujawa <luk...@php.net 
> (mailto:luk...@php.net)> wrote:
> 
> > Hello,
> > 
> > I'm using Solr collections API to create a collection.
> > 
> > 
> > http://127.0.0.1:8983/solr/admin/collections?action=CREATE&name=test2&numShards=1&replicationFactor=2&collection.configName=default
> > 
> > I'm expecting new collection to be named "test2" what I get instead is
> > "test2_shard1_replica2". I don't want to tie my index name to any curent
> > settings. Is there any way to set collection name precisely?
> > 
> > Thank you,
> > Lukasz
> > 
> > 
> > 
> > 
> > --
> > View this message in context:
> > http://lucene.472066.n3.nabble.com/Collection-name-via-Collections-API-Solr-4-x-tp4053155.html
> > Sent from the Solr - User mailing list archive at Nabble.com 
> > (http://Nabble.com).
> > 
> 
> 
> 
> 
> -- 
> 
> Anshum Gupta
> http://www.anshumgupta.net
> 
> 


Reply via email to