Showing posts with label solr. Show all posts
Showing posts with label solr. Show all posts

Friday, August 8, 2014

Solr 4.9.0 Tomcat SEVERE: Error filterStart

Error

SEVERE: Error filterStart

Solution:

For Solr Version  4.9.0

These jars are required in tomcat/7.0.23/lib/ directory-

slf4j-api-1.7.6.jar
slf4j-log4j12-1.7.6.jar

Saturday, February 9, 2013

Url encode an HTTP GET Solr request and parse json using gson java library

Make a request to the SOLR webserver and parse the json string to Java classes using the code snippets below.
The JSON to be parsed- The corresponding Java classes- Code snippet to make a web server call and parse using gson-

The Java classes must have the same variable names as the Json's keys. Notice how nested Json elements are handled.