Builds an analyzer which removes words in the provided array.

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

Syntax

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

Parameters

stopWords
Type: array<System..::..String>[]()[][]
Array of stop words
enablePositionIncrements
Type: System..::..Boolean
See {@link StopFilter#SetEnablePositionIncrements}

See Also