lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz" <bdelacre...@apache.org>
Subject Re: Can't use SnowballAnalyzer
Date Wed, 30 Aug 2006 09:14:06 GMT
On 8/30/06, Diogo Matos <diogomts@gmail.com> wrote:

> ...org.apache.solr.core.SolrException: Error instantiating class class
> org.apache.lucene.analysis.snowball.SnowballAnalyzer
>     at org.apache.solr.core.Config.newInstance(Config.java:213)...

It looks like SnowballAnalyzer cannot be used in that way, as it
doesn't have a no-parameter constructor. As a quick workaround to try
it, you could create a class that inherits from SnowballAnalyzer and
hardcodes the required parameter.

See http://lucene.apache.org/java/docs/api/org/apache/lucene/analysis/snowball/SnowballAnalyzer.html

-Bertrand

Mime
View raw message