高峰之巅 发表于 2016-12-14 09:41:49

solr的distribution搜索

1.安装2个solr,2份tomcat,端口一个为8080,一个为9080
2.最方便的配置是在url里增加distribution搜索:&shards=localhost:8080/solr,localhost:9080/solr
完全URL为:

http://localhost:9080/solr/select/?q=AllField%3A%E5%B0%8F%E8%AF%B4&version=2.2&start=0&rows=10&indent=on&shards=localhost:8080/solr,localhost:9080/solr
页: [1]
查看完整版本: solr的distribution搜索