我一直在试用 Solr trunk在具有 ZooKeeper
集成的 SolrCloud 中建议。
当我尝试 Example C
时,即 Two shard cluster with shard replicas and ZooKeeper ensemble
我无法在 Ubuntu 或 Windows 上运行此示例。启动第一台服务器时出现套接字连接错误,因此无法继续。
我想找到更多关于 Solr 如何与 ZooKeeper 集成的信息(ZooKeeper 使用的是什么构造)。
ZooKeeper的资料我看了很多,但是Solr在Sharding & distributed search方面的资料很少。
最佳答案
我建议您查看 ZooKeeperIntegration和 DeploymentofSolrCoreswithZooKeeper Solr Wiki 上的文档页面。这些似乎有一些关于使用 ZooKeeper 设置 Solr 分布式搜索的更多细节。
关于search - Zookeeper Solr 集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9055758/