Norskog, Lance wrote:
Hi-
What is the <filter> element in an <analyzer> element that will load
this class:
org.apache.lucene.analysis.cn.ChineseFilter
This did not work:
<filter class="org.apache.lucene.analysis.cn.ChineseFilter" />
This is in Solr 1.2.
the class needs to point to a FilterFactory (not a Filter)
1.3-dev adds FilterFactories for all the lucne contrib fiters. Using
1.2, add a jar file with this class and you should be all set:
http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/analysis/ChineseFilterFactory.java
ryan