magoffin.matt.ma2.lucene
Class StandardMatteAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
magoffin.matt.ma2.lucene.StandardMatteAnalyzer
public class StandardMatteAnalyzer
- extends org.apache.lucene.analysis.Analyzer
Standard implementation of Analyzer for Matte.
- Version:
- $Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
- Author:
- Matt Magoffin (spamsqr@msqr.us)
Methods inherited from class org.apache.lucene.analysis.Analyzer |
getPositionIncrementGap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardMatteAnalyzer
public StandardMatteAnalyzer()
tokenStream
public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String field,
java.io.Reader reader)
- Specified by:
tokenStream
in class org.apache.lucene.analysis.Analyzer
getSnowballStemmerName
public java.lang.String getSnowballStemmerName()
- Returns:
- the snowballStemmerName
setSnowballStemmerName
public void setSnowballStemmerName(java.lang.String snowballStemmerName)
- Parameters:
snowballStemmerName
- the snowballStemmerName to set
getStopWords
public java.util.Set<java.lang.String> getStopWords()
- Returns:
- the stopWords
setStopWords
public void setStopWords(java.util.Set<java.lang.String> stopWords)
- Parameters:
stopWords
- the stopWords to set
getIndexKeyLength
public int getIndexKeyLength()
- Returns:
- the indexKeyLength
setIndexKeyLength
public void setIndexKeyLength(int indexKeyLength)
- Parameters:
indexKeyLength
- the indexKeyLength to set