|
|
|
|
StopAnalyzer
|
|
|
public final
|
Class Description
|
|
|
Filters LetterTokenizer with LowerCaseFilter and StopFilter.
|
Class Variables
|
|
|
ENGLISH_STOP_WORDS
public static final String[]
An array containing some common English words that are not usually useful
for searching.
|
Instance Variables
|
|
|
None declared in this class.
|
Constructors
|
|
|
StopAnalyzer
public StopAnalyzer(
)
Builds an analyzer which removes words in ENGLISH_STOP_WORDS.
StopAnalyzer
public StopAnalyzer(
String[] stopWords
)
Builds an analyzer which removes words in the provided array.
|
Class Methods
|
|
|
None declared in this class.
|
Instance Methods
|
|
|
tokenStream
public TokenStream tokenStream(
String fieldName,
Reader reader
)
Filters LowerCaseTokenizer with StopFilter.
|
|
|