Solr Replication命令
来源:互联网 发布:海知智能 王宇 编辑:程序博客网 时间:2024/06/14 09:01
http://it.chinawin.net/softwaredev/article-c2bb.html
命令格式:http://[host]:[port]/solr/[core]/replication?command=[command name]
1。details:显示当前实例Replication详细信息,包括:indexSize、indexPath、commits(indexVersion、generation、filelist)、isMaster、isSlave、indexVersion、generation,对于Slave还要显示包括上述内容的Master其详细信息和masterUrl、pollInterval、nextExecutionAt、indexReplicatedAt、indexReplicatedAtList、replicationFailedAtList、timesIndexReplicated、lastCycleBytesDownloaded、timesFailed、replicationFailedAt、previousCycleTimeInSeconds、isPollingDisabled、isReplicating。
2。backup:备份。
3。fetchindex:获取索引,此命令在Slave上执行。
4。abortfetch:忽略获取索引,此命令在Slave上执行。
5。filelist:获取指定版本的索引文件信息,需要指定索引版本。如:command=filelist& indexversion=[indexVersion]。将返回文件的name、lastmodified、size信息。
6。filecontent:获取文件内容。
6。filechecksum:检测文件。
7。disablepoll:取消轮询,此命令在Slave上执行。
8。disablereplication:取消复制。
9。enablereplication:开启复制。
10。enablepoll:开启轮询,此命令在Slave上执行。
11。indexversion:查询当前索引版本。
12。commits:返回当前索引信息。
--------------------------------------------------------------------------------------------------------------------------------------------------------
http://blog.csdn.net/babydavic/article/details/8755057
可以通过以下 HTTP 命令来控制
ReplicationHandler 的操作
http://master_host:port/solr/replication?command=enablereplication 使主服务器的复制可用
http://master_host:port/solr/replication?command=disablereplication 使主服务器的复制不可用
http://host:port/solr/replication?command=indexversion 获得主服务器或从服务器最新的索引版本
http://slave_host:port/solr/replication?command=fetchindex 强制从服务器从主服务器拉取索引,该过程可以传递 下的参数,如主服务的url、压缩参数等
http://slave_host:port/solr/replication?command=abortfetch 让某从服务器不再从主服务器拉取索引
http://slave_host:port/solr/replication?command=enablepoll 使某从服务器可以从主服务器拉取修改的索引
http://slave_host:port/solr/replication?command=details 返回配置和当前状态
http://host:port/solr/replication?command=filelist&indexversion= 返回指定主机的索引文件列表,可以指定版本号
http://master_host:port/solr/replication?command=backup 如果有新的commit,将备份索引库,该命令在阶段备份索引时很有用
- Solr Replication命令
- solr replication原理探究
- Solr Replication (Wiki)
- Solr Replication 使用
- solr replication原理探究
- Solr索引复制(Index Replication)
- Solr集群Replication配置与实践
- Solr之集群Replication配置与实践
- Solr集群Replication配置与实践
- 【Solr】——Search On Lucene Replication
- Solr集群Replication配置与实践
- solr命令
- Solr命令
- solr命令
- Solr集群Replication配置与实践,solrconfig.xml 介绍
- Solr Replication (复制) 索引和文件的工作机制
- solr replication,大部分master-slave模式才能用
- replication
- Android NDK开发(二)——从Hello World学起
- 引用计数
- 做FI顾问必须知道
- SizeClass 和AutoLayout教程2
- adb速度
- Solr Replication命令
- Java Double加减乘除精确浮点运算
- Ubuntu12.04 安装 lib64readline5-gplv2-dev遇到的问题
- 区别CALL SCREEN/SET SCREEN/LEAVE TO SCREEN
- Apache Pig入门1 –介绍/基本架构/与Hive对比
- linux 下升级python版本
- jena构建本体,读取owl文件,输出owl文件相关知识
- 腾讯2013校园招聘笔试题
- 懈怠