Sphinx:初始化实时索引
我想将 sphinx 索引之一迁移到实时。然而,rt索引不接受源并且它的初始化有点混乱。有没有一种方法可以将现有索引实时迁移而无需编写大量脚本?
I would like to migrate one of the sphinx index into real time. However, rt index doesn't take a source and its initialization is kinda messy. Is there a way to migrate existing index into real time without a lot of scripting?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我很高兴我的演示文稿有帮助,但现在 Sphinx 有新命令可以帮助从原始索引迁移到实时索引: 附加索引
这很简单:
顺便说一句,我写了一篇博客文章,描述 附加索引命令的详细信息。
I am glad that my presentation was helpful, but now Sphinx has new command which help migrate from original to real-time indexes: attach index
It is simple as:
BTW, I have wrote a blog post which describe attach index command in details.
目前不存在官方途径。仅定制解决方案。在这个有趣的文档 (PDF)有一种提到的方式:
问候。
At the moment no official way exists. Only custom solutions. In this interesting document (PDF) there is one of the ways mentioned:
Regards.