LOG.info("solr.max.connections.per.host: "+maxConnectionsPerHost);
LOG.info("solr.max.total.connections: "+maxTotalConnections);
String url = "http://"+host+":"+port+"/solr/"+core+"/";
LOG.info("初始化Solr服务器连接:"+url);
HttpSolrServer httpSolrServer = new HttpSolrServer(url);
httpSolrServer.setMaxRetries(maxRetries);
httpSolrServer.setConnectionTimeout(connectionTimeout);
httpSolrServer.setAllowCompression(allowCompression);
httpSolrServer.setSoTimeout(socketReadTimeout);
httpSolrServer.setDefaultMaxConnectionsPerHost(maxConnectionsPerHost);
httpSolrServer.setMaxTotalConnections(maxTotalConnections);
solrServer = httpSolrServer;
}