I do this frequently, but use the scripts provided in cloud-scripts, e.g.
export ZK_HOST=...
cloud-scripts/zkcli.sh -zkhost $ZK_HOST -cmd upconfig -confdir
$COLLECTION_INSTANCE_DIR/conf -confname $COLLECTION_NAME
Also, once you do this, you still have to reload the collection so that it
picks up
Couple notes though:
> 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
I don't think you want that -solrhome - if I remember right, thats for
tes
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
-confdi