Builds an analyzer with the stop words from the given reader.

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

Syntax

C#
[ObsoleteAttribute("Use StopAnalyzer(Version, Reader) instead")]
public StopAnalyzer(
	TextReader stopwords,
	bool enablePositionIncrements
)
Visual Basic
<ObsoleteAttribute("Use StopAnalyzer(Version, Reader) instead")> _
Public Sub New ( _
	stopwords As TextReader, _
	enablePositionIncrements As Boolean _
)
Visual C++
[ObsoleteAttribute(L"Use StopAnalyzer(Version, Reader) instead")]
public:
StopAnalyzer(
	TextReader^ stopwords, 
	bool enablePositionIncrements
)

Parameters

stopwords
Type: System.IO..::..TextReader
Reader to load stop words from
enablePositionIncrements
Type: System..::..Boolean
See {@link StopFilter#SetEnablePositionIncrements}

See Also