Right, solrhome is not required for upconfig, just for the bootstrap cmd. You can also just upload modified files, but the tool doesn't really let you do it in a fine grained way. But there are lots of zookeeper tools you can use to do this if you wanted.
- Mark On Thu, Nov 22, 2012 at 10:45 AM, Marcin Rzewucki <mrzewu...@gmail.com> wrote: > I think solrhome is not mandatory. > Yes, reloading is uploading config dir again. It's a pity we can't update > just modified files. > Regards. > > On 22 November 2012 19:38, Cool Techi <cooltec...@outlook.com> wrote: > >> Thanks, but why do we need to specify the -solrhome? >> >> I am using the following command to load new config, >> >> java -classpath .:/Users/solr-cli-lib/* org.apache.solr.cloud.ZkCLI -cmd >> upconfig -zkhost >> localhost:2181,localhost:2182,localhost:2183,localhost:2184,localhost:2185 >> -confdir /Users/config-files -confname myconf >> >> So basically reloading is just uploading the configs back again? >> >> Regard,s >> Ayush >> >> > Date: Thu, 22 Nov 2012 19:32:27 +0100 >> > Subject: Re: Reloading config to zookeeper >> > From: mrzewu...@gmail.com >> > To: solr-user@lucene.apache.org >> > >> > Hi, >> > >> > I'm using "cloud-scripts/zkcli.sh" script for reloading configuration, >> for >> > example: >> > $ ./cloud-scripts/zkcli.sh -cmd upconfig -confdir <config.dir> -solrhome >> > <solr.home> -confname <config.name> -z <zookeeper.host> >> > >> > Then I'm reloading collection on each node in cloud, but maybe someone >> > knows better solution. >> > Regards. >> > >> > On 22 November 2012 19:23, Cool Techi <cooltec...@outlook.com> wrote: >> > >> > > When we make changes to our config files, how do we reload the files >> into >> > > zookeeper. >> > > >> > > Also, I understand that we would need to reload the collection, would >> we >> > > need to do this at a per shard level or just at the cloud level. >> > > >> > > Regards, >> > > Ayush >> > > >> > > >> >> -- - Mark