public class DSAnalyzer
extends org.apache.lucene.analysis.StopwordAnalyzerBase
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.lucene.util.Version |
matchVersion |
protected static String[] |
STOP_WORDS |
protected Set |
stopSet |
| Constructor and Description |
|---|
DSAnalyzer(org.apache.lucene.util.Version matchVersion)
Builds an analyzer
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.lucene.analysis.ReusableAnalyzerBase.TokenStreamComponents |
createComponents(String fieldName,
Reader reader) |
int |
getPositionIncrementGap(String fieldName) |
getStopwordSet, loadStopwordSet, loadStopwordSet, loadStopwordSetinitReader, reusableTokenStream, tokenStreamprotected final org.apache.lucene.util.Version matchVersion
protected static final String[] STOP_WORDS
protected final Set stopSet
public DSAnalyzer(org.apache.lucene.util.Version matchVersion)
matchVersion - Lucene version to matchprotected org.apache.lucene.analysis.ReusableAnalyzerBase.TokenStreamComponents createComponents(String fieldName, Reader reader)
createComponents in class org.apache.lucene.analysis.ReusableAnalyzerBasepublic int getPositionIncrementGap(String fieldName)
getPositionIncrementGap in class org.apache.lucene.analysis.AnalyzerCopyright © 2015 DuraSpace. All Rights Reserved.