Hi,

previously I was using a NGramFilterFactory for the completion on my website
but the EdgeNGramTokenizerFactory seems to be more pertinent.

I defined my own field type  but when I start solr I got the error log :

GRAVE: java.lang.ClassCastException:
org.apache.solr.analysis.EdgeNGramTokenizerFactory cannot be cast to
org.apache.solr.analysis.Toke
nFilterFactory
        at org.apache.solr.schema.IndexSchema$5.init(IndexSchema.java:777)
        at
org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:148)

I think that a .jar is missing in in my lib repository but I didn't find it.
Or should I  patch the source ?

Thanks in advance



-----
English is not my mother tongue :)
-- 
View this message in context: 
http://old.nabble.com/Factory-cannot-be-cast-tp26408419p26408419.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to