Reloading SolrCloud configuration (stored on Zookeeper) - schema.xml

后端 未结 4 744
傲寒
傲寒 2020-12-13 10:21

I have setup a SolrCloud replication using standalone zookeeper. But now I wish to make some changes to my Schema.xml and reload the core. The problem is that when I run a s

4条回答
  •  遥遥无期
    2020-12-13 11:07

    Just found the solution we need to push the changed configuration to 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 is present under example/cloud-scripts

提交回复
热议问题