On Apr 17, 2012, at 7:07 AM, ravi wrote: > Hi, > > I have recently started experimenting with solrCloud. I want to use it for > below mentioned requirements: > > - create one collection per client > - create several shards per collection (say 1 shard for each day of month) > - all of the collection would follow the same schema. > - may need to add more machines to the cluster to index faster or provide > quick turnaround for queries. (think this is possible with zookeeper) > - programmatic access ( and create, if possible) shard names and add data > to that shard. > > I was looking into tutorial online and could get a sense that one needs to > create collections and shards manually and there is no programmatic way to > create them dynamically from code, say, using solrj.
You can - see http://wiki.apache.org/solr/SolrCloud#Creating_cores_via_CoreAdmin http://wiki.apache.org/solr/CoreAdmin#CoreAdminHandler > > I now know that adding shards to an already running cluster is not possible. > ( http://wiki.apache.org/solr/SolrCloud Re-sizing your cluster ) > > Is there something wrong in the way i want to organise my indexes? Am i > missing something very obvious? > > Thanks! > Ravi > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SolrCloud-Programmatically-create-multiple-collections-tp3916927p3916927.html > Sent from the Solr - User mailing list archive at Nabble.com. - Mark Miller lucidimagination.com