Package org.apache.solr.analysis
Class SolrAnalyzer
- java.lang.Object
-
- org.apache.lucene.analysis.Analyzer
-
- org.apache.solr.analysis.SolrAnalyzer
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
FieldType.DefaultAnalyzer
,TokenizerChain
public abstract class SolrAnalyzer extends org.apache.lucene.analysis.Analyzer
- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description SolrAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPositionIncrementGap(String fieldName)
protected Reader
initReader(String fieldName, Reader reader)
void
setPositionIncrementGap(int gap)
-
-
-
Method Detail
-
setPositionIncrementGap
public void setPositionIncrementGap(int gap)
-
getPositionIncrementGap
public int getPositionIncrementGap(String fieldName)
- Overrides:
getPositionIncrementGap
in classorg.apache.lucene.analysis.Analyzer
-
-