lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sophSophie <sop...@beezik.com>
Subject Factory cannot be cast
Date Wed, 18 Nov 2009 15:54:05 GMT

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.


Mime
View raw message