Problem with HttpSolrClient.Builder on Windows with tomcat

2020-12-09 Thread Raivo Rebane
Hello I have problem with HttpSolrClient.Builder on Windows with tomcat I have follwing code lines in my programm: System.out.println("Trying HttpSolrClient = " + url ); LibraryServlet.solrClientClient = new HttpSolrClient.Builder(url).withConnectionTimeout(5000).withSocketTimeout(3

Re: HttpSolrClient.Builder

2016-10-18 Thread Shawn Heisey
re that's missing a class that SolrJ needs from the newer version. The correct jar versions can be found included with Solr. > The code is: > return new HttpSolrClient.Builder(urlString).build(); > After connecting to a Solr server, should I call solrServer.close(); > or > shou

HttpSolrClient.Builder

2016-10-18 Thread wmcginnis
lder.build(HttpSolrClient.java:874) The code is: return new HttpSolrClient.Builder(urlString).build(); After connecting to a Solr server, should I call solrServer.close(); or should I leave the connection open until the entire index is built?