I copied the file apache-solr-analysis-extras-3.3.0.jar into solr's lib
folder. Now the error is different -

SEVERE: java.lang.NoClassDefFoundError:
org/apache/solr/analysis/BaseTokenizerFactory

Please help.

Satish

On Tue, Aug 2, 2011 at 5:23 PM, Robert Muir <rcm...@gmail.com> wrote:

> did you add the analysis-extras jar itself? thats what has this factory.
>
> On Tue, Aug 2, 2011 at 5:03 AM, Satish Talim <satish.ta...@gmail.com>
> wrote:
> > 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
> >
>
>
>
> --
> lucidimagination.com
>

Reply via email to