Apache Lucene.Net 2.4.0 Class Library API

StopFilter Constructor (TokenStream, Hashtable, Boolean)

Construct a token stream filtering the given input. If
stopWords
is an instance of {@link CharArraySet} (true if
makeStopSet()
was used to construct the set) it will be directly used and
ignoreCase
will be ignored since
CharArraySet
directly controls case sensitivity.

If
stopWords
is not an instance of {@link CharArraySet}, a new CharArraySet will be constructed and
ignoreCase
will be used to specify the case sensitivity of that set.
public StopFilter(
   TokenStream input,
   Hashtable stopWords,
   bool ignoreCase
);

Parameters

input
stopWords
The set of Stop Words.
ignoreCase
-Ignore case when stopping.

See Also

StopFilter Class | Lucene.Net.Analysis Namespace | StopFilter Constructor Overload List