| vqwiki.utils.lucene.StopKeepNumbersAnalyzer
StopKeepNumbersAnalyzer | final public class StopKeepNumbersAnalyzer 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. |
Method Summary | |
final public TokenStream | tokenStream(String fieldName, Reader reader) Filters LowerCaseTokenizer with StopFilter. |
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.
|
StopKeepNumbersAnalyzer | public StopKeepNumbersAnalyzer()(Code) | | Builds an analyzer which removes words in ENGLISH_STOP_WORDS.
|
StopKeepNumbersAnalyzer | public StopKeepNumbersAnalyzer(String[] stopWords)(Code) | | Builds an analyzer which removes words in the provided array.
|
tokenStream | final public TokenStream tokenStream(String fieldName, Reader reader)(Code) | | Filters LowerCaseTokenizer with StopFilter.
|
|
|