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