Builds an analyzer with the stop words from the given set.
Namespace: Lucene.Net.AnalysisAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
[ObsoleteAttribute("Use StopAnalyzer(Version, Set) instead")] public StopAnalyzer( Hashtable stopWords, bool enablePositionIncrements ) |
| Visual Basic |
|---|
<ObsoleteAttribute("Use StopAnalyzer(Version, Set) instead")> _ Public Sub New ( _ stopWords As Hashtable, _ enablePositionIncrements As Boolean _ ) |
| Visual C++ |
|---|
[ObsoleteAttribute(L"Use StopAnalyzer(Version, Set) instead")] public: StopAnalyzer( Hashtable^ stopWords, bool enablePositionIncrements ) |
Parameters
- stopWords
- Type: System.Collections..::..Hashtable
Set of stop words
- enablePositionIncrements
- Type: System..::..Boolean
See {@link StopFilter#SetEnablePositionIncrements}