indexer和searchd的使用
来源:互联网 发布:网络金融互助平台 编辑:程序博客网 时间:2024/05/16 19:23
indexer
indexer是用来建立索引文件的程序。
用法:
indexer.exe-c 配置文件路径 [索引名 |--all][--merge dstnew][--merge-dst-range 属性 mix max] [--rotate]
简要介绍三种用法
1.
indexer.exe -c 配置文件路径[索引名|--all]
如果这里使用--all,就是为配置文件中所有索引建立索引文件;如果指明索引名,就只为该索引建立索引文件。
2.
indexer.exe -c 配置文件路径--merge dst new
将new索引文件中内容合并到dst索引文件中,new中内容就会覆盖dst中内容;但是dst中内容不会删除,如果想要删除dst中内容,就需要使用下一种方法了
3.
indexer.exe -c 配置文件路径--merge dst new --merge-dst-range属性mix max
指定原索引文件中属性在min到max范围内的内容,才会合并;不再范围之内的内容,将被丢弃。
4. 如果索引文件已经在使用,则需要在上述三种用法最后加上--rotate,通知searchd使用新的索引文件。
searchd
searchd是为用户使用sphinxapi提供服务,相当于一种服务端服务。
用法:
searchd -c 配置文件 索引名称 [选项]
选项:
--stop 停止当前服务
--status 查看当前状态
--install安装为windows服务
--delete 删除windows服务
--port 设置监听的端口
注意:使用选项--delete删除服务后,需要重启电脑,才能再次安装服务。
0 0
- indexer和searchd的使用
- logstash indexer和shipper的配置
- 使用Lucene开发自己的搜索引擎–(2)配置环境和索引文件的建立indexer
- 使用Lily HBase Indexer
- Sphinx Indexer的参数
- Lily HBase Indexer使用整理
- searchd的异常日志,跟现有索引文件有关
- 使用Lucene开发自己的搜索引擎–(3)indexer索引程序中基本类介绍
- 关闭Eclipse的c++ indexer功能
- Lily HBase Indexer在CDH中的基本使用
- 抽象类和抽象方法:Abstract and override,Event ,Indexer
- 老外编的程序(九):Using Indexer Properties
- magento的Cannot initialize the indexer process解决方法
- Maganto错误-Cannot initialize the indexer process的解决方法
- Maganto错误-Cannot initialize the indexer process的解决方法
- Maganto错误-Cannot initialize the indexer process的解决方法
- magento 出现“ Cannot initialize the indexer process ”错误的解决方法
- hbase-indexer
- sp_send_dbmail 详解
- Command 模式
- aop:aspectj-autoproxy, SpringAOP拦截Controller,Service实现日志管理(自定义注解的方式)
- C---格式化日期函数
- 表达式计算器
- indexer和searchd的使用
- DisplayMetrics 获取屏幕的宽高(像素)
- 把网页加载进安卓显示,及其android系统webview控件使用详解
- iOS SDK 集成指南
- Android的一些面试题目
- keeplearning swift-柯里化
- oracle sql 将字符串转换成多行
- 通过XML文件实现省份、城市、区域三级联动
- Python数据类型