Lucene:复制(FS)目录实现
Lucene 的 (FS)Directory 是否有任何替代实现,特别是与复制相关的实现?我期待做的事情(但在实现我自己的之前寻找现有的东西:)是一个同时写入多个相同目录的目录。背后的想法是,我无法部署 DFS 或 SAN,并考虑以尽可能小的延迟以“手动”方式复制到另一个节点。想法?
非常感谢!
Is there any alternative implementations of Lucene's (FS)Directory, notably ones related to replication? What I am looking forward to doing (but looking for something existing before implementing my own :) is a directory that writes to multiple identical directories at the same time. The idea behind is that I can't deploy DFS or SAN and thinking of a sort of a "manual" replication to another node with the minimum possible delay. Thoughts?
Many thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常人们使用 Solr 来实现此目的。如果您无法使用 Solr 的复制功能,您可以执行 Solr 之前人们所做的事情:rsync 您的目录。
Usually people use Solr for this. If you can't use Solr's replication functionality, you can do what people did before Solr: rsync your directories.