ITPub博客

首页 > 大数据 > 数据分析 > 操作solr replication的API总结

操作solr replication的API总结

数据分析 作者:chenfeng 时间:2018-01-12 11:24:02 0 删除 编辑
使master的主从服务生效:
http://master_host:port/solr/core_name/replication?command=enablereplication

使master的主从服务失效:
http://master_host:port/solr/core_name/replication?command=disablereplication

查看当前索引的版本:
http://host:port/solr/core_name/replication?command=indexversion

手动从master拉取数据到slave:
http://slave_host:port/solr/core_name/replication?command=fetchindex

使slave的轮询失效:
http://slave_host:port/solr/core_name/replication?command=disablepoll

使slave的轮询生效:
http://slave_host:port/solr/core_name/replication?command=enablepoll

执行备份:
http://master_host:port/solr/core_name/replication?command=backup

删除备份:
http://master_host:port /solr/core_name/replication?command=deletebackup

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/15498/viewspace-2150087/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
交流MySQL,PolarDB/PolarDB-X,PostgreSQL,MongoDB和Redis技术。

注册时间:2015-12-07

  • 博文量
    784
  • 访问量
    2691669