org.apache.solr.analysis
Class PatternReplaceFilterFactory

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

public class PatternReplaceFilterFactory
extends BaseTokenFilterFactory

Version:
$Id:$
See Also:
PatternReplaceFilter

Field Summary
 
Fields inherited from class org.apache.solr.analysis.BaseTokenFilterFactory
args
 
Constructor Summary
PatternReplaceFilterFactory()
           
 
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 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
 

Constructor Detail

PatternReplaceFilterFactory

public PatternReplaceFilterFactory()
Method Detail

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 - 2009 The Apache Software Foundation