solr的distribution搜索
1.安装2个solr,2份tomcat,端口一个为8080,一个为90802.最方便的配置是在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]