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) |
close, createComponents, getOffsetGap, getReuseStrategy, getVersion, 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-2016 Apache Software Foundation. All Rights Reserved.