Further down in the stack trace you will find the "cause" of the exception. Solr is calling the "init" method, but your code is throwing an exception. Your jar is probably in the proper place, otherwise Solr wouldn't have been able to load it and call the init method for it.

-- Jack Krupansky

-----Original Message----- From: ssivakumaran
Sent: Friday, July 18, 2014 4:10 AM
To: solr-user@lucene.apache.org
Subject: Plugin init failure for custom analysis filter

Getting this error below on adding new custom filter to schema.xml:
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
Plugin init failure for [schema.xml] fieldType "textCustom": Plugin init
failure for [schema.xml] analyzer/filter: Error instantiating class:
'org.apache.solr.analysis.Custom.CustomFilterFactory'. Schema file is
/opt/solr5/collection3/schema.xml
I tried adding jar of my custom filter to /solr/collection/lib path as
mentioned in this link:
http://stackoverflow.com/questions/7828619/basetokenfilterfactory-not-found-by-solr-with-custom-filter
but same error.



--
View this message in context: http://lucene.472066.n3.nabble.com/Plugin-init-failure-for-custom-analysis-filter-tp4147851.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to