我认为你所追求的是一个主要的+ delta指数.您构建的主要索引每天说一次,然后每5分钟(或者您需要的任何时间段),您可以使用自上次构建后的更改来更新它.文档中有一些内容可以解释这一点,Google上也有关于此的帖子.
http://sphinxsearch.com/docs/current.html#delta-updates
对于每5分钟重建delta的cronjob,您需要以下内容:
*/5 * * * * /opt/sphinx/bin/indexer -c /opt/sphinx/etc/sphinx.conf --rotate delta_idx
Run Code Online (Sandbox Code Playgroud)