I don't think there is yet - my fault, did not realize - we should make one.
I've been messing around with some early stuff, but I'm still unsure about some things. Might just put in something simple to start though. On May 24, 2012, at 4:39 AM, Tommaso Teofili wrote: > 2012/5/23 Mark Miller <markrmil...@gmail.com> > >> Yeah, currently you have to create the core on each node...we are working >> on a 'collections' api that will make this a simple one call operation. >> > > Mark, is there a Jira for that yet? > Tomamso > > >> >> We should have this soon. >> >> - Mark >> >> On May 23, 2012, at 2:36 PM, Daniel Brügge wrote: >> >>> Hi, >>> >>> i am creating several cores using the following script. I use this for >>> testing SolrCloud and to learn about the distribution of multiple >>> collections. >>> >>> max=500 >>>> for ((i=2; i<=$max; ++i )) ; >>>> do >>>> curl " >>>> >> http://solrinstance1:8983/solr/admin/cores?action=CREATE&name=collection$i&collection=collection$i&collection.configName=myconfig >>>> " >>>> done >>> >>> >>> I've setup a SolrCloud with 2 shards which are each replicated by 2 other >>> instances I start. >>> >>> When I first start the installation I have the default "collection1" in >>> place which is sharded over shard1 and shard2 with 2 leader nodes and 2 >>> nodes which replicate the leaders. >>> >>> When I run this script above which calls the Coreadmin on one of the >>> shards, all the collections are created on only this shard without a >>> replica. So e.g. >>> >>> >>> "collection8":{"shard1":{"solrinstance1:8983_solr_collection8":{ >>> "shard":"shard1", >>> "leader":"true", >>> "state":"active", >>> "core":"collection8", >>> "collection":"collection8", >>> "node_name":"solrinstance1:8983_solr", >>> >>> "base_url":"http://solrinstance1:8983/solr"}}} >>> >>> >>> I always thought, that via zookeeper these collections are sharded and >>> replicated or do I need to call on each node the create core action? But >>> then I need to know about these nodes, right? >>> >>> >>> Thanks & regards >>> >>> Daniel >> >> - Mark Miller >> lucidimagination.com >> >> >> >> >> >> >> >> >> >> >> >> - Mark Miller lucidimagination.com