public final class SimpleAnalyzer extends Analyzer
Analyzer.ReuseStrategy, Analyzer.TokenStreamComponents
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
Constructor and Description |
---|
SimpleAnalyzer()
Creates a new
SimpleAnalyzer |
Modifier and Type | Method and Description |
---|---|
protected Analyzer.TokenStreamComponents |
createComponents(String fieldName) |
protected TokenStream |
normalize(String fieldName,
TokenStream in) |
attributeFactory, close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, initReaderForNormalization, normalize, setVersion, tokenStream, tokenStream
public SimpleAnalyzer()
SimpleAnalyzer
protected Analyzer.TokenStreamComponents createComponents(String fieldName)
createComponents
in class Analyzer
protected TokenStream normalize(String fieldName, TokenStream in)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.