Sphinx real time indexes config?

荒凉一梦 提交于 2019-12-07 22:59:56

问题


i am new to Sphinx i need sample code for real time indexex sphinx.config in linux sever?


回答1:


For near real time indexing you can use delta method :

http://sphinxsearch.com/docs/1.10/delta-updates.html

Edit:

Index everything :

indexer --rotate --config /home/myuser/sphinx.conf --all

Index only delta :

indexer --rotate --config /home/myuser/sphinx.conf delta

Merge indexes :

indexer --merge main delta --rotate


来源:https://stackoverflow.com/questions/5753334/sphinx-real-time-indexes-config

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!