On 6/27/2014 11:07 PM, spir...@gmail.com wrote: > Thanks for answers ! > > So all my changes i'll must provide via zookeeper ? I asking because this > moment confused me when i bootstrap one node with full config, then added 2 > nodes to cluster, but conf dirs on new appended nodes is empty > (solr/collection1/conf i mean). > > And small question - if i bootstrap Solr with one configured core and second > core without data and default config. SolrCloud show me both cores with > replicas, how i must managed second core - add data , update configs, via > zookeeper or using Coreadmin API ?
In my opinion, the bootstrap options should never be used. You should upload configurations to zookeeper using the zkcli script included with the Solr download in cloud-scripts. Then you can create collections using the Collections API, and give the name of the config that you uploaded earlier as a parameter. If you do things this way, there will be no conf directories in your cores -- even if they exist, they are not used with SolrCloud. When you re-upload an existing config to zookeeper to make changes, getting the changes to take effect is as simple as using the Collections API to RELOAD the collection. Thanks, Shawn