solr的distribution搜索

1.安装2solr2tomcat,端口一个为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 

你可能感兴趣的:(tomcat,Solr)