org.apache.solr.analysis
Class EdgeNGramTokenizerFactory

java.lang.Object
  extended by org.apache.solr.analysis.BaseTokenizerFactory
      extended by org.apache.solr.analysis.EdgeNGramTokenizerFactory
All Implemented Interfaces:
TokenizerFactory

public class EdgeNGramTokenizerFactory
extends BaseTokenizerFactory

Creates new instances of EdgeNGramTokenizer.

Author:
Otis Gospodnetic, Adam Hiatt

Field Summary
 
Fields inherited from class org.apache.solr.analysis.BaseTokenizerFactory
args
 
Constructor Summary
EdgeNGramTokenizerFactory()
           
 
Method Summary
 TokenStream create(Reader input)
          Creates a TokenStream of the specified input
 void init(Map<String,String> args)
          init will be called just once, immediately after creation.
 
Methods inherited from class org.apache.solr.analysis.BaseTokenizerFactory
getArgs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeNGramTokenizerFactory

public EdgeNGramTokenizerFactory()
Method Detail

init

public void init(Map<String,String> args)
Description copied from interface: TokenizerFactory
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 TokenizerFactory
Overrides:
init in class BaseTokenizerFactory

create

public TokenStream create(Reader input)
Description copied from interface: TokenizerFactory
Creates a TokenStream of the specified input



Copyright © 2006 - 2009 The Apache Software Foundation