public class CASAnalyzer
extends org.apache.lucene.analysis.Analyzer
An analyzer used in the CatalogSearch program.
Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.analysis.util.CharArraySet |
STOP_WORDS
An array containing some common English words that are usually not useful
for searching.
|
Constructor and Description |
---|
CASAnalyzer()
Builds an analyzer.
|
CASAnalyzer(org.apache.lucene.analysis.util.CharArraySet stopWords)
Builds an analyzer with the given stop words.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName) |
void |
tokenStreams(String fname,
Reader reader) |
public static final org.apache.lucene.analysis.util.CharArraySet STOP_WORDS
Copyright © 1999–2017 Apache OODT. All rights reserved.