【发布时间】:2013-04-17 18:07:02
【问题描述】:
我是 sphinx 的新手(通常是全文搜索)。 我读过 main+delta 方案适用于拥有大量不随时间变化的数据以及添加了一些新数据的情况。
所以我有两个索引。一个主指数和一个 RT 指数。主索引被索引一次使用
>indexer --merge index_main index_rt --rotate
但我得到这个错误
FATAL: Failed to merge index index_rt to index_main: source index preload failed: failed to open C:\path\to\index\index_rt.sph
( No such file or directory )
我猜这是因为实时索引的存储方式与磁盘索引不同。 有没有办法直接合并这些索引?
我可能不需要实时索引更新。如果是这样,使用cron每天更新一次增量索引并每周合并它们会更好吗?
【问题讨论】:
标签: sphinx