Reloading Zookeeper solr conf (schema.xml) -
i have setup solrcloud replication using standalone zookeeper. wish make changes schema.xml , reload core. problem when run single server solr (no solrcloud) new schema loaded, not know how reload schema on replication server. tried reloading schema on 1 of server no desired impact. there way in can reload schema.xml in solr in distributed replication setup uses zookeeper.
just found solution need push changed configuration zookeeper ensemble.
just use
sh zkcli.sh -cmd upconfig -zkhost 127.0.0.1:2181 -collection collection1 -confname myconf -solrhome ../solr -confdir ../solr/collection1/conf
zkcli.sh present under example/cloud-scripts
after need reload cores in every server:
http://server1:8080/solr/admin/cores?action=reload&core=collection1_shard1_replica1
Comments
Post a Comment