You can use the upconfig command witch is described on the Solr Cloud wiki
page, followed by a collection reload also described on the wiki. Here is a
sample command upconfig:

java -classpath example/solr-webapp/WEB-INF/lib/*
org.apache.solr.cloud.ZkCLI -cmd upconfig -zkhost 127.0.0.1:9983
-confdir example/solr/collection1/conf -confname conf1 -solrhome
example/solr




On Thu, Mar 28, 2013 at 12:05 PM, jimtronic <jimtro...@gmail.com> wrote:

> I'm doing fairly frequent changes to my data-config.xml files on some of my
> cores in a solr cloud setup. Is there anyway to to get these files active
> and up to Zookeeper without restarting the instance?
>
> I've noticed that if I just launch another instance of solr with the
> bootstrap_conf flag set to true, it uploads the new settings, but it dies
> because there's already a solr instance running on that port. It also seems
> to make the original one unresponsive or at least "down" in zookeeper's
> eyes. I then just restart that instance and everything is back up. It'd be
> nice if I could bootstrap without actually starting solr.
>
> What's the best practice for deploying changes to data-config.xml?
>
> Thanks, Jim
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/bootstrap-conf-without-restarting-tp4052092.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Joel Bernstein
Professional Services LucidWorks

Reply via email to