Hi,
When using dse 2.2-1 and with
<luceneMatchVersion>LUCENE_40</luceneMatchVersion>
in the solrconfig.xml I am including the following snippet
<!-- CJK bigram (see text_ja for a Japanese configuration using morphological analysis) -->
<fieldType name="text_cjk" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.UAX29URLEmailTokenizerFactory"/>
<!-- normalize width before bigram, as e.g. half-width dakuten combine -->
<filter class="solr.CJKWidthFilterFactory"/>
<!-- for any non-CJK -->
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.CJKBigramFilterFactory"/>
</analyzer>
</fieldType>
copied from the apache-solr-4.0.0/example/solr/collection1/conf/schema.xml.
When uploading the schema to the server I am getting errors like:
java.lang.ClassNotFoundException: solr.CJKWidthFilterFactory
This also happens for german and perhaps other languages as well.
I found the jar lucene-analyzers-common-4.0-20120907.063400-1.jar installed but missing the relevant classes. So I tried adding the file lucene-analyzers-common-4.0.0.jar from the lucene 4 release and then retried submitting the schema. Now I got:
WARNING: "java.lang.RuntimeException: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType:Plugin init failure for [schema.xml] analyzer/filter:Error loading class 'solr.CJKWidthFilterFactory'"
from the curl call but no error in the log.
Can someone give me some insight on the situation here? Thanks.
