Friday 8 November 2013

Solr 4.5.1 set up issues with Tomcat

I tried installing Solr 4.5.1

I faced couple of issues while setting up the environment.

The first issue is I was not able access the as it was throwing an error
SEVERE: Error filterStart....

when I checked for more information I got this ....
SEVERE: Exception starting filter SolrRequestFilter

This is occurring because org.apache.solr.common.SolrException: Could not find necessary SLF4j logging jars. Need to add the jars on the containers.


Add the jars in the tomcat
1. slf4j-log4j12-1.6.6.jar
2. slf4j-api-1.6.6.jar
3. log4j-1.2.16.jar
4. jcl-over-slf4j-1.6.6.jar

The above issue got resolved after adding the jars.

The second issue is "msg=SolrCore 'collection1' is not available due to init failure: Unable to use updateLog: _version_field must exist in schema".

To resolve the above issue ...need to Add below in the <fields> tag in schema.xml

<field name="_version_" type="long" indexed="true" stored="true"/>


No comments:

Post a Comment