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