lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Ibbotson <iani...@googlemail.com>
Subject Re: Factory cannot be cast
Date Wed, 18 Nov 2009 16:12:11 GMT
Cheers.. investigating...

2009/11/18 sophSophie <sophie@beezik.com>:
>
> 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