On Wed, Sep 2, 2009 at 8:10 PM, David Espinosa <espi...@gmail.com> wrote:
> My problem appears when I try to create a Polish stemmed index. There isn’t > a Snowball implementation for Polish, but I found a lucene one: > > http://www.getopt.org/stempel/index.html#distrib > > I included the jar into Solr lib folder and included the filter into the > appropriate fieldtype (<filter > class="org.getopt.stempel.lucene.StempelFilter" />) but when I run the > server this error appears: > > GRAVE: *org.apache.solr.common.SolrException*: Error instantiating class: > 'org.getopt.stempel.lucene.StempelFilter' > You'd need to create a factory class which implements Solr's TokenFilterFactory or extends BaseTokenFilterFactory which creates the StempelFilter. Then specify the factory class in schema.xml -- Regards, Shalin Shekhar Mangar.