Thanks Shawn. It is working now as you said.. No need to switch to external zookeeper. It is also working in embedded zookeeper
On Mon, Mar 23, 2015 at 5:42 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 3/23/2015 4:51 AM, Nitin Solanki wrote: > > Few days before, I have created a collection (wikingram) in > solr > > 4.10.4(Solr cloud) by applying default configuration from collection1. > > > > *sudo /mnt/nitin/Solr/solr_lm/example/scripts/cloud-scripts/zkcli.sh > > -zkhost localhost:9983 -cmd upconfig -confdir > > /mnt/nitin/Solr/solr_lm/example/solr/collection1/conf -confname default* > > > > Now, I want to create another collection (wikingram2) which needs > different > > configuration. How can I do that? > > How to deal with different configuration on different collections. > > > > *Scenario: * > > { > > "wikingram" : "myconf1", > > "wikingram2" : "myconf2" > > } > > > > How to set the configuration just like above ? > > The "upconfig" command that you executed has uploaded a config named > "default" (because of the "-confname default" parameters). > > To do what you want, simply repeat the upconfig command with another > configuration directory and "-confname myconf2", then use that > configName when you call the Collections API to create the second > collection. > > I notice you're using the embedded zookeeper. You're going to want to > switch to an external zookeeper ensemble with at least three hosts > before you go into production. > > Thanks, > Shawn > >