【问题标题】:Uploading (updating) config files into a running ZooKeeper (SolrCloud)将配置文件上传(更新)到正在运行的 ZooKeeper (SolrCloud)
【发布时间】:2014-08-30 04:47:12
【问题描述】:

我希望能够动态地将新集合添加到我的 SolrCloud。但是要添加一个集合,我必须先将配置文件上传到 ZooKeeper,对吧? 但是,如果不重新启动 ZooKeeper 和我的 Solr 实例,我该怎么做呢?

【问题讨论】:

    标签: solr apache-zookeeper solrcloud


    【解决方案1】:

    如果您使用的是 SOLR4.0+,那么您不必重新启动 SOLR 实例。

    http://technical-fundas.blogspot.in/2014/07/solr-reload-solrconfigxml-and-schemaxml.html

    而且当你上传配置文件zookeeper时,你也不必重新启动zookeeper。

    步骤:

    1) 上传zookeeper中的solrconfig.xml/schema.xml文件

    2) 运行重载命令

    http://technical-fundas.blogspot.in/2014/07/solr-reload-solrconfigxml-and-schemaxml.html

    希望这能回答您的问题...

    【讨论】:

      猜你喜欢
      • 2012-08-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-04
      • 2012-08-29
      • 2014-11-03
      • 2019-09-08
      • 1970-01-01
      相关资源
      最近更新 更多