Construct a token stream filtering the given input.

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

Syntax

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

Parameters

enablePositionIncrements
Type: System..::..Boolean
true if token positions should record the removed stop words
input
Type: Lucene.Net.Analysis..::..TokenStream
input TokenStream
stopWords
Type: array<System..::..String>[]()[][]
array of stop words

See Also