On 10/9/2013 1:17 AM, xinwu wrote:
I remember I must put the
"-Dbootstrap_confdir=/opt/Solr_home/collection1/conf
-Dcollection.configName=solrConfig " in the catalina.sh .

Is it means that solrCloud must have one ,and only one, schema?

Those bootstrap options are intended to be used ONCE, and on only one of your Solr instances, not all of them. What that does is take the configuration in the confdir and upload it to zookeeper, giving it the name you chose.

You can have many configurations with different names in zookeeper. Each collection is associated with a config name. A better way than the bootstrap options is the zkcli script in cloud-scripts on the example. The "upconfig" command can be used to upload or change your configurations.

http://wiki.apache.org/solr/SolrCloud#Command_Line_Util

Thanks,
Shawn

Reply via email to