org.apache.blur.analysis
Class NoStopWordStandardAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.util.StopwordAnalyzerBase
org.apache.blur.analysis.NoStopWordStandardAnalyzer
- All Implemented Interfaces:
- Closeable
public class NoStopWordStandardAnalyzer
- extends org.apache.lucene.analysis.util.StopwordAnalyzerBase
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer |
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
Field Summary |
static int |
DEFAULT_MAX_TOKEN_LENGTH
Default maximum allowed token length |
static org.apache.lucene.analysis.util.CharArraySet |
STOP_WORDS_SET
An unmodifiable set containing some common English words that are usually
not useful for searching. |
Methods inherited from class org.apache.lucene.analysis.util.StopwordAnalyzerBase |
getStopwordSet |
Methods inherited from class org.apache.lucene.analysis.Analyzer |
close, getOffsetGap, getPositionIncrementGap, tokenStream |
DEFAULT_MAX_TOKEN_LENGTH
public static final int DEFAULT_MAX_TOKEN_LENGTH
- Default maximum allowed token length
- See Also:
- Constant Field Values
STOP_WORDS_SET
public static final org.apache.lucene.analysis.util.CharArraySet STOP_WORDS_SET
- An unmodifiable set containing some common English words that are usually
not useful for searching.
NoStopWordStandardAnalyzer
public NoStopWordStandardAnalyzer()
setMaxTokenLength
public void setMaxTokenLength(int length)
- Set maximum allowed token length. If a token is seen that exceeds this
length then it is discarded. This setting only takes effect the next time
tokenStream or tokenStream is called.
getMaxTokenLength
public int getMaxTokenLength()
- See Also:
setMaxTokenLength(int)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.