Hi

I am developing my own custom filter in solr 5.4.1.

I have created a jar of a filter class with extend to TokenizerFactory
class .

When i loaded in to sol config and add my filter to managed-schema , i
found following error -

org.apache.solr.common.SolrException: Could not load conf for core
####: Plugin init failure for [schema.xml] fieldType "text_reversed":
Plugin init failure for [schema.xml] analyzer/filter: class
com.skyrim.ReverseFilterFactory. Schema file is
/root/solr-5.2.1/server/solr/#####/conf/managed-schema


Caused by: java.lang.ClassCastException: class com.skyrim.ReverseFilterFactory


Why java.lang.ClassCastException is occurring while loading a plugin ?


Please help someone . very much thanks in advance .




regards

Kumar Gaurav

Software Engineer

Reply via email to