org.apache.lucene.analysis.standard
public class StandardAnalyzer extends Analyzer
Version: $Id: StandardAnalyzer.java 219090 2005-07-14 20:36:28Z dnaber $
| Field Summary | |
|---|---|
| static String[] | STOP_WORDS An array containing some common English words that are usually not
useful for searching. |
| Constructor Summary | |
|---|---|
| StandardAnalyzer() Builds an analyzer with the default stop words (STOP_WORDS). | |
| StandardAnalyzer(Set stopWords) Builds an analyzer with the given stop words. | |
| StandardAnalyzer(String[] stopWords) Builds an analyzer with the given stop words. | |
| StandardAnalyzer(File stopwords) Builds an analyzer with the stop words from the given file. | |
| StandardAnalyzer(Reader stopwords) Builds an analyzer with the stop words from the given reader. | |
| Method Summary | |
|---|---|
| TokenStream | tokenStream(String fieldName, Reader reader) |
See Also: getWordSet
See Also: getWordSet