org.apache.solr.analysis
Class LengthFilterFactory
java.lang.Object
org.apache.solr.analysis.BaseTokenFilterFactory
org.apache.solr.analysis.LengthFilterFactory
- All Implemented Interfaces:
- TokenFilterFactory
public class LengthFilterFactory
- extends BaseTokenFilterFactory
- Version:
- $Id: LengthFilterFactory.java 643465 2008-04-01 16:10:19Z gsingers $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIN_KEY
public static final String MIN_KEY
- See Also:
- Constant Field Values
MAX_KEY
public static final String MAX_KEY
- See Also:
- Constant Field Values
LengthFilterFactory
public LengthFilterFactory()
init
public void init(Map<String,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 the factory in the
schema.xml
- Specified by:
init
in interface TokenFilterFactory
- Overrides:
init
in class BaseTokenFilterFactory
create
public LengthFilter create(TokenStream input)
- Description copied from interface:
TokenFilterFactory
- Transform the specified input TokenStream
Copyright © 2009 Apache Software Foundation. All Rights Reserved.