java程序中连接solr并设置参数等
public List getUrlResults(List strList,String serverUrl,pageResult result)throws MalformedURLException, SolrServerException{HttpSolrServerserver=new HttpSolrServer(serverUrl);//serverUrl 表示要连接的网址
List urls=new ArrayList();
if(strList.size()>0){
for(int i=0;i0){
for(int i=0;i
页:
[1]