【发布时间】:2011-09-29 20:06:06
【问题描述】:
我在此处遵循 sphinx 手册:http://sphinxsearch.com/docs/current.html#delta-updates,了解如何对索引执行增量更新。
我的 searchd 正在运行正确的配置文件。 索引器之前已运行以创建主索引。
当我运行这个命令时:
indexer -c /home/brandon/workspace/gallery/server/lib/sphinx/sphinx.conf --rotate delta
我得到这个结果:
using config file '/home/brandon/workspace/gallery/server/lib/sphinx/sphinx.conf'...
read 0.1 of 0.1 MB, 100.0% done
merged 10.8 Kwords
merged in 0.010 sec
total 389 reads, 0.000 sec, 2.0 kb/call avg, 0.0 msec/call avg
total 7 writes, 0.000 sec, 78.6 kb/call avg, 0.0 msec/call avg
rotating indices: succesfully sent SIGHUP to searchd (pid=28039).
一切看起来都正常,主索引应该已经更新了。然后我转到我的搜索栏,但它没有更新,因为我无法搜索新项目。
有什么建议吗?
【问题讨论】: