文章目录
Sphinx 分为实时搜索
和 非实时搜索
两部分
-
实时搜索
实时搜索配置Demo
index rt { type = rt rt_mem_limit = 512M }
实时搜索 Command(实时搜索不需要生成索引)
searchd -c sphinx.conf
实时搜索应用
报错处理
-
非实时搜索
非实时搜索配置
非实时搜索应用
Command
indexer -c sphinx.conf --all (非运行态生成全量索引)
indexer -c sphinx.conf --rotate --all(运行状态生成全量索引)
indexer -c sphinx.conf main_xx --rotate(运行状态生成指定全量索引)
indexer -c sphinx.conf --merge main_xxx detal_xxx --rotate (运行态下 merge 指定 增量和全量索引)报错处理
附件: 本公司 生产环境 实时
和非实时
配置文件链接, 可点击下载
实时搜索配置
非实时搜索配置
https://blog.csdn.net/slqgenius/article/details/51714178
https://www.cnblogs.com/yjf512/p/3598332.html
~~持续更新