2012-01-11 74 views
0

我试图在Solr 1.4中配置分布式搜索。它可以完美通过使用以下网址“http:// localhost:8983/solr/select?shards = localhost:8983/solr,localhost:7574/solr & indent = true & q = ipod + solr” 但我需要配置solrconfig.xml中的碎片。任何想法.........?如何为分布式索引和分布式搜索配置solr1.4?

在此先感谢

塞特希乙

回答

1

你有没有看在Distributed Search页面上Solr的维基。这应该为您提供一个很好的起点。实际上,solrconfig.xml文件中没有配置碎片,因为每个碎片都是独立的Solr实例。因此,您只需要设置多个Solr实例,请按照维基页面末尾的分布式搜索示例部分中的步骤操作。