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(3000).build()

Re: getFirstValue problem with solrj

2020-11-05 Thread Raivo Rebane
Heloo I found mistake Thanks Raivo On 05.11.20 17:08, Raivo Rebane wrote: Hello I have one problem I made a query as foollws :                     System.out.println("Querying by using SolrQuery...");                     SolrQuery solrQuery = new SolrQuery("Na

getFirstValue problem with solrj

2020-11-05 Thread Raivo Rebane
Hello I have one problem I made a query as foollws :                     System.out.println("Querying by using SolrQuery...");                     SolrQuery solrQuery = new SolrQuery("Name:" + Pattern);                     solrQuery.addField("id");                     solrQuery.addField("App_co

httpclient gives error

2020-10-31 Thread Raivo Rebane
Hello I try to use solrj in web application with eclipse tomcat but I get following errors java.lang.NoSuchFieldError: INSTANCE     at org.apache.http.impl.io.DefaultHttpRequestWriterFactory.(DefaultHttpRequestWriterFactory.java:52)     at org.apache.http.impl.io.DefaultHttpRequestWriterFact

I can cannot execute my SolrJ application

2020-10-21 Thread Raivo Rebane
         arg1                                    false             maven-compiler-plugin     3.8.1       11          org.codehaus.mojo exec-maven-plugin     1.1      

SolrJ doesn't find symbol

2020-10-20 Thread Raivo Rebane
rc/test/resources">                                                 path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">                                     path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">