lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: Multiple schemas in the same SolrCloud ?
Date Wed, 09 Oct 2013 16:26:56 GMT
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 .
> 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.


View raw message