java.lang.Object | ||
↳ | org.apache.lucene.analysis.Analyzer | |
↳ | org.apache.lucene.analysis.StopAnalyzer |
Filters LetterTokenizer
with LowerCaseFilter
and StopFilter
.
You must specify the required Version
compatibility when creating StopAnalyzer:
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ENGLISH_STOP_WORDS_SET | An unmodifiable set containing some common English words that are not usually useful for searching. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.analysis.Analyzer
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builds an analyzer which removes words in
ENGLISH_STOP_WORDS_SET . | |||||||||||
Builds an analyzer with the stop words from the given set.
| |||||||||||
Builds an analyzer with the stop words from the given file.
| |||||||||||
Builds an analyzer with the stop words from the given reader.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a TokenStream that is allowed to be re-used
from the previous time that the same thread called
this method.
| |||||||||||
Filters LowerCaseTokenizer with StopFilter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.analysis.Analyzer
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
|
An unmodifiable set containing some common English words that are not usually useful for searching.
Builds an analyzer which removes words in
ENGLISH_STOP_WORDS_SET
.
matchVersion | See above |
---|
Builds an analyzer with the stop words from the given set.
matchVersion | See above |
---|---|
stopWords | Set of stop words |
Builds an analyzer with the stop words from the given file.
matchVersion | See above |
---|---|
stopwordsFile | File to load stop words from |
IOException |
---|
Builds an analyzer with the stop words from the given reader.
matchVersion | See above |
---|---|
stopwords | Reader to load stop words from |
IOException |
---|
Creates a TokenStream that is allowed to be re-used from the previous time that the same thread called this method. Callers that do not need to use more than one TokenStream at the same time from this analyzer should use this method for better performance.
IOException |
---|
Filters LowerCaseTokenizer with StopFilter.