org.apache.solr.analysis
Class WordDelimiterFilterFactory

java.lang.Object
  extended by org.apache.solr.analysis.BaseTokenFilterFactory
      extended by org.apache.solr.analysis.WordDelimiterFilterFactory
All Implemented Interfaces:
TokenFilterFactory, ResourceLoaderAware

public class WordDelimiterFilterFactory
extends BaseTokenFilterFactory
implements ResourceLoaderAware

Version:
$Id: WordDelimiterFilterFactory.java 793090 2009-07-10 19:40:33Z yonik $

Field Summary
static String PROTECTED_TOKENS
           
 
Fields inherited from class org.apache.solr.analysis.BaseTokenFilterFactory
args, log
 
Constructor Summary
WordDelimiterFilterFactory()
           
 
Method Summary
 org.apache.solr.analysis.WordDelimiterFilter create(TokenStream input)
          Transform the specified input TokenStream
 void inform(org.apache.solr.common.ResourceLoader loader)
           
 void init(Map<String,String> args)
          init will be called just once, immediately after creation.
 
Methods inherited from class org.apache.solr.analysis.BaseTokenFilterFactory
getArgs, getBoolean, getBoolean, getInt, getInt, getInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTECTED_TOKENS

public static final String PROTECTED_TOKENS
See Also:
Constant Field Values
Constructor Detail

WordDelimiterFilterFactory

public WordDelimiterFilterFactory()
Method Detail

inform

public void inform(org.apache.solr.common.ResourceLoader loader)
Specified by:
inform in interface ResourceLoaderAware

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 org.apache.solr.analysis.WordDelimiterFilter create(TokenStream input)
Description copied from interface: TokenFilterFactory
Transform the specified input TokenStream

Specified by:
create in interface TokenFilterFactory


Copyright © 2009 Apache Software Foundation. All Rights Reserved.