public final class TokenizerChain extends SolrAnalyzer
SolrAnalyzer.TokenStreamInfo
Constructor and Description |
---|
TokenizerChain(CharFilterFactory[] charFilters,
TokenizerFactory tokenizer,
TokenFilterFactory[] filters) |
TokenizerChain(TokenizerFactory tokenizer,
TokenFilterFactory[] filters) |
Modifier and Type | Method and Description |
---|---|
Reader |
charStream(Reader reader)
wrap the reader in a CharStream, if appropriate
|
CharFilterFactory[] |
getCharFilterFactories() |
SolrAnalyzer.TokenStreamInfo |
getStream(String fieldName,
Reader reader) |
TokenFilterFactory[] |
getTokenFilterFactories() |
TokenizerFactory |
getTokenizerFactory() |
String |
toString() |
getPositionIncrementGap, reusableTokenStream, setPositionIncrementGap, tokenStream
close, getOffsetGap, getPreviousTokenStream, setPreviousTokenStream
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 charStream(Reader reader)
SolrAnalyzer
charStream
in class SolrAnalyzer
public SolrAnalyzer.TokenStreamInfo getStream(String fieldName, Reader reader)
getStream
in class SolrAnalyzer