Sorry I might not have asked clearly, our issue is that we have a few thousand collections (can be much more), so running that command is rather tedius, is there a simpler way (all collections share same schema/config)?
Thanks very much for helps, Lisheng -----Original Message----- From: Furkan KAMACI [mailto:furkankam...@gmail.com] Sent: Friday, July 12, 2013 1:17 AM To: solr-user@lucene.apache.org Subject: Re: solr 4.3.0 cloud in Tomcat, link many collections to Zookeeper If you have one collection you just need to define hostnames of Zookeeper ensembles and run that command once. 2013/7/11 Zhang, Lisheng <lisheng.zh...@broadvision.com> > Hi, > > We are testing solr 4.3.0 in Tomcat (considering upgrading solr 3.6.1 to > 4.3.0), in WIKI page > for solrCloud in Tomcat: > > http://wiki.apache.org/solr/SolrCloudTomcat > > we need to link each collection explicitly: > > /// > 8) Link uploaded config with target collection > java -classpath .:/home/myuser/solr-war-lib/* org.apache.solr.cloud.ZkCLI > -cmd linkconfig -collection mycollection -confname ... > /// > > But our application has many cores (a few thousands which all share same > schema/config, > is there a moe convenient way ? > > Thanks very much for helps, Lisheng >