Apache Lucene.Net 2.4.0 Class Library API

StopFilter Constructor

Construct a token stream filtering the given input.

Overload List

Constructs a filter which removes words from the input TokenStream that are named in the Set.

public StopFilter(TokenStream,Hashtable);

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,Hashtable,bool);

Construct a token stream filtering the given input.

public StopFilter(TokenStream,string[]);

Constructs a filter which removes words from the input TokenStream that are named in the array of words.

public StopFilter(TokenStream,string[],bool);

See Also

StopFilter Class | Lucene.Net.Analysis Namespace