我是 Sphinx 的新手,我需要 Linux 服务器中实时索引 sphinx.config 的示例代码?
对于近实时索引,您可以使用增量方法:
http://sphinxsearch.com/docs/1.10/delta-updates.html http://sphinxsearch.com/docs/1.10/delta-updates.html
Edit:
索引所有内容:
indexer --rotate --config /home/myuser/sphinx.conf --all
仅索引增量:
indexer --rotate --config /home/myuser/sphinx.conf delta
合并索引:
indexer --merge main delta --rotate
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)