Just checked logs:

Dec 9, 2010 3:12:42 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader INFO: Adding 'file:/var/www/solr/searchPr/lib/lucene-stempel-3.1-2010-12-06_10-23-49.jar' to classloader

[..]

Dec 9, 2010 3:12:42 PM org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: Error loading class 'solr.StempelPolishStemFilterFactory'


What am I doing wrong?


I am trying to use StempelPolishStemFilter:

I've added
<filter class="solr.StempelPolishStemFilterFactory" language="Polish"/>
to analyzer in fieldtype in schema.xml, restarted Jetty, and got:

org.apache.solr.common.SolrException: Error loading class
'solr.StempelPolishStemFilterFactory'
[...]
Caused by: java.lang.ClassNotFoundException:
solr.StempelPolishStemFilterFactory

So I tried putting
contrib/analysis-extras/lucene-libs/lucene-stempel-3.1-2010-12-06_10-23-49.jar
in ./lib and ./lucene-libs - same result.

Next I tried pointing solr to jars by putting <lib dir= and/or <lib
path= in solrconfig.xml, tried both relative and absolute paths only to
get the very same error message.

After 11 hours of trying to get it to work I'm officialy out of ideas -
I'd really appreciate any help.

I'm using solr 3.1 2010-12-06 nightly (Stempel is only available for 3.1
and 4.0).



----------------------------------------------------------------------
KONKURS! Wybierz nagrode roku i wygraj!
Sprawdz >> http://linkint.pl/f28a0

Reply via email to