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

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

Syntax

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

Parameters

enablePositionIncrements
Type: System..::..Boolean
true if token positions should record the removed stop words
in_Renamed
Type: Lucene.Net.Analysis..::..TokenStream

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

stopWords
Type: array<System..::..String>[]()[][]
array of stop words
ignoreCase
Type: System..::..Boolean
true if case is ignored

See Also