热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_45128984
5201314jie
7 年前
trueweixin_45128984

String url = "http://192.168.22.216:8983/solr";
HttpSolrServer server = new HttpSolrServer(url);
server.setSoTimeout(3000); // socket read timeout
server.setConnectionTimeout(1000);
server.setDefaultMaxConnectionsPerHost(1000);
server.setMaxTotalConnections(10);

CSDN App 扫码分享
分享
1
点赞
打赏
  • 复制链接
  • 举报
下一条动态
立即登录