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