public class CASAnalyzer
extends org.apache.lucene.analysis.Analyzer
An analyzer used in the CatalogSearch program.
Modifier and Type | Field and Description |
---|---|
static String[] |
STOP_WORDS
An array containing some common English words that are usually not useful
for searching.
|
Constructor and Description |
---|
CASAnalyzer()
Builds an analyzer.
|
CASAnalyzer(String[] stopWords)
Builds an analyzer with the given stop words.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
tokenStream(String fieldName,
Reader reader)
Constructs a
StandardTokenizer filtered by a StandardFilter , a LowerCaseFilter and a StopFilter . |
public static final String[] STOP_WORDS
public CASAnalyzer()
public CASAnalyzer(String[] stopWords)
Copyright © 1999-2015 Apache OODT. All Rights Reserved.