public final class TokenizerChain extends SolrAnalyzer
Analyzer.GlobalReuseStrategy, Analyzer.PerFieldReuseStrategy, Analyzer.ReuseStrategy, Analyzer.TokenStreamComponents
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
Constructor and Description |
---|
TokenizerChain(CharFilterFactory[] charFilters,
TokenizerFactory tokenizer,
TokenFilterFactory[] filters) |
TokenizerChain(TokenizerFactory tokenizer,
TokenFilterFactory[] filters) |
Modifier and Type | Method and Description |
---|---|
protected Analyzer.TokenStreamComponents |
createComponents(String fieldName,
Reader aReader) |
CharFilterFactory[] |
getCharFilterFactories() |
TokenFilterFactory[] |
getTokenFilterFactories() |
TokenizerFactory |
getTokenizerFactory() |
Reader |
initReader(String fieldName,
Reader reader) |
String |
toString() |
charStream, getPositionIncrementGap, setPositionIncrementGap
close, getOffsetGap, getReuseStrategy, getVersion, setVersion, tokenStream, tokenStream
public TokenizerChain(TokenizerFactory tokenizer, TokenFilterFactory[] filters)
public TokenizerChain(CharFilterFactory[] charFilters, TokenizerFactory tokenizer, TokenFilterFactory[] filters)
public CharFilterFactory[] getCharFilterFactories()
public TokenizerFactory getTokenizerFactory()
public TokenFilterFactory[] getTokenFilterFactories()
public Reader initReader(String fieldName, Reader reader)
initReader
in class SolrAnalyzer
protected Analyzer.TokenStreamComponents createComponents(String fieldName, Reader aReader)
createComponents
in class Analyzer
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.