@Deprecated public class DSAnalyzer extends org.apache.lucene.analysis.util.StopwordAnalyzerBase
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.util.Version |
matchVersion
Deprecated.
|
protected static String[] |
STOP_WORDS
Deprecated.
|
protected org.apache.lucene.analysis.util.CharArraySet |
stopSet
Deprecated.
|
Constructor and Description |
---|
DSAnalyzer(org.apache.lucene.util.Version matchVersion)
Deprecated.
Builds an analyzer
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName,
Reader reader)
Deprecated.
|
int |
getPositionIncrementGap(String fieldName)
Deprecated.
|
getStopwordSet, loadStopwordSet, loadStopwordSet, loadStopwordSet
protected final org.apache.lucene.util.Version matchVersion
protected static final String[] STOP_WORDS
protected final org.apache.lucene.analysis.util.CharArraySet stopSet
public DSAnalyzer(org.apache.lucene.util.Version matchVersion)
matchVersion
- Lucene version to matchprotected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName, Reader reader)
createComponents
in class org.apache.lucene.analysis.Analyzer
public int getPositionIncrementGap(String fieldName)
getPositionIncrementGap
in class org.apache.lucene.analysis.Analyzer
Copyright © 2016 DuraSpace. All Rights Reserved.