I am using Solr 3.3 on a Windows box.

I want to use the solr.ICUTokenizerFactory in my schema.xml and added the
fieldType name="text_icu" as per the URL -
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ICUTokenizerFactory

I also added the following files to my apache-solr-3.3.0\example\lib folder:
lucene-icu-3.3.0.jar
lucene-smartcn-3.3.0.jar
icu4j-4_8.jar
lucene-stempel-3.3.0.jar

When I start my Solr server from apache-solr-3.3.0\example folder:
java -jar start.jar

I get the following errors:

SEVERE: org.apache.solr.common.SolrException: Error loading class
'solr.ICUTokenizerFactory'

SEVERE: org.apache.solr.common.SolrException: analyzer without class or
tokenizer & filter list

SEVERE: org.apache.solr.common.SolrException: Unknown fieldtype 'text_icu'
specified on field subject

I tried adding various other jar files to the lib folder but it does not
help.

What am I doing wrong?

Satish

Reply via email to