org.apache.solr.analysis
Class SnowballPorterFilterFactory
java.lang.Object
org.apache.solr.analysis.BaseTokenFilterFactory
org.apache.solr.analysis.SnowballPorterFilterFactory
- All Implemented Interfaces:
- TokenFilterFactory
public class SnowballPorterFilterFactory
- extends BaseTokenFilterFactory
Factory for SnowballFilters, with configurable language
Browsing the code, SnowballFilter uses reflection to adapt to Lucene... don't
use this if you are concerned about speed. Use EnglishPorterFilterFactory.
- Version:
- $Id: SnowballPorterFilterFactory.java 472574 2006-11-08 18:25:52Z yonik $
- Author:
- yonik
Method Summary |
org.apache.lucene.analysis.TokenStream |
create(org.apache.lucene.analysis.TokenStream input)
Transform the specified input TokenStream |
void |
init(java.util.Map<java.lang.String,java.lang.String> args)
init will be called just once, immediately after creation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnowballPorterFilterFactory
public SnowballPorterFilterFactory()
init
public void init(java.util.Map<java.lang.String,java.lang.String> args)
- Description copied from interface:
TokenFilterFactory
init
will be called just once, immediately after creation.
The args are user-level initialization parameters that
may be specified when declaring a the factory in the
schema.xml
- Specified by:
init
in interface TokenFilterFactory
- Overrides:
init
in class BaseTokenFilterFactory
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream input)
- Description copied from interface:
TokenFilterFactory
- Transform the specified input TokenStream
Copyright © 2006 - 2008 The Apache Software Foundation