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

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

Syntax

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

Parameters

stopwordsFile
Type: System.IO..::..FileInfo
File to load stop words from
enablePositionIncrements
Type: System..::..Boolean
See {@link StopFilter#SetEnablePositionIncrements}

See Also