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

If

CopyC#
stopWords
is not an instance of {@link CharArraySet}, a new CharArraySet will be constructed and
CopyC#
ignoreCase
will be used to specify the case sensitivity of that set.

Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Use StopFilter(bool, TokenStream, Set, bool) instead")]
public StopFilter(
	TokenStream input,
	Hashtable stopWords,
	bool ignoreCase
)
Visual Basic
<ObsoleteAttribute("Use StopFilter(bool, TokenStream, Set, bool) instead")> _
Public Sub New ( _
	input As TokenStream, _
	stopWords As Hashtable, _
	ignoreCase As Boolean _
)
Visual C++
[ObsoleteAttribute(L"Use StopFilter(bool, TokenStream, Set, bool) instead")]
public:
StopFilter(
	TokenStream^ input, 
	Hashtable^ stopWords, 
	bool ignoreCase
)

Parameters

input
Type: Lucene.Net.Analysis..::..TokenStream

[Missing <param name="input"/> documentation for "M:Lucene.Net.Analysis.StopFilter.#ctor(Lucene.Net.Analysis.TokenStream,System.Collections.Hashtable,System.Boolean)"]

stopWords
Type: System.Collections..::..Hashtable
The set of Stop Words.
ignoreCase
Type: System..::..Boolean
-Ignore case when stopping.

See Also