| |
|
| java.lang.Object org.apache.lucene.analysis.Analyzer org.apache.lucene.analysis.StopAnalyzer
StopAnalyzer | final public class StopAnalyzer extends Analyzer (Code) | | Filters LetterTokenizer with LowerCaseFilter and StopFilter.
|
Field Summary | |
final public static String[] | ENGLISH_STOP_WORDS An array containing some common English words that are not usually useful
for searching. |
Constructor Summary | |
public | StopAnalyzer() Builds an analyzer which removes words in ENGLISH_STOP_WORDS. | public | StopAnalyzer(Set stopWords) Builds an analyzer with the stop words from the given set. | public | StopAnalyzer(String[] stopWords) Builds an analyzer which removes words in the provided array. | public | StopAnalyzer(File stopwordsFile) Builds an analyzer with the stop words from the given file. | public | StopAnalyzer(Reader stopwords) Builds an analyzer with the stop words from the given reader. |
ENGLISH_STOP_WORDS | final public static String[] ENGLISH_STOP_WORDS(Code) | | An array containing some common English words that are not usually useful
for searching.
|
StopAnalyzer | public StopAnalyzer()(Code) | | Builds an analyzer which removes words in ENGLISH_STOP_WORDS.
|
StopAnalyzer | public StopAnalyzer(Set stopWords)(Code) | | Builds an analyzer with the stop words from the given set.
|
StopAnalyzer | public StopAnalyzer(String[] stopWords)(Code) | | Builds an analyzer which removes words in the provided array.
|
|
|
|