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

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

Syntax

C#
public StopFilter(
	bool enablePositionIncrements,
	TokenStream in_Renamed,
	Hashtable stopWords
)
Visual Basic
Public Sub New ( _
	enablePositionIncrements As Boolean, _
	in_Renamed As TokenStream, _
	stopWords As Hashtable _
)
Visual C++
public:
StopFilter(
	bool enablePositionIncrements, 
	TokenStream^ in_Renamed, 
	Hashtable^ stopWords
)

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.Collections.Hashtable)"]

stopWords
Type: System.Collections..::..Hashtable
The set of Stop Words.

See Also