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