ClassCastException: SmartChineseWordTokenFilterFactory to TokenizerFactory
Hi all, I am trying to use SmartChineseWordTokenFilterFactory in solr 3.4.0, but come to the error SEVERE: java.lang.ClassCastException: org.apache.solr.analysis.SmartChineseWordTokenFilterFactory cannot be cast to org.apache.solr.analysis.TokenizerFactory Any thought?
Re: ClassCastException: SmartChineseWordTokenFilterFactory to TokenizerFactory
Tokenizers and TokenFilters are different. Look in the schema for how other TokenFilterFactory classes are used. On Thu, Sep 15, 2011 at 8:05 PM, Xue-Feng Yang just4l...@yahoo.com wrote: Hi all, I am trying to use SmartChineseWordTokenFilterFactory in solr 3.4.0, but come to the error SEVERE: java.lang.ClassCastException: org.apache.solr.analysis.SmartChineseWordTokenFilterFactory cannot be cast to org.apache.solr.analysis.TokenizerFactory Any thought? -- Lance Norskog goks...@gmail.com