Lucene index and Windows DFS replication

♀尐吖头ヾ 提交于 2019-12-25 02:16:17

问题


I want to replicate Lucene index on my web servers periodically. Apart from Solr, can I setup DFS replication on my Windows 2008 servers and use that to replicate my indexes over my load balanced web servers? Will that approach work or I will have to write parallely to 2 different indexer locations within my crawler code?

Any help is appreciated.

Thanks!


回答1:


I'm not exactly sure of your question. You cannot have two writers writing to the same location no matter what file system you use. So if you want each of your NLB servers to write to the same location, no, that probably won't work.

If you just have one writer and want to replicate its results across many servers, that will work, but it will probably be quite a bit slower (one of the major Lucene recommendations is to not use networked file systems).



来源:https://stackoverflow.com/questions/8531203/lucene-index-and-windows-dfs-replication

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!