Returns version-dependent default for enablePositionIncrements. Analyzers
that embed StopFilter use this method when creating the StopFilter. Prior
to 2.9, this returns {@link #getEnablePositionIncrementsDefault}. On 2.9
or later, it returns true.
Namespace: Lucene.Net.AnalysisAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static bool GetEnablePositionIncrementsVersionDefault( Version matchVersion ) |
Visual Basic |
---|
Public Shared Function GetEnablePositionIncrementsVersionDefault ( _ matchVersion As Version _ ) As Boolean |
Visual C++ |
---|
public: static bool GetEnablePositionIncrementsVersionDefault( Version^ matchVersion ) |
Parameters
- matchVersion
- Type: Lucene.Net.Util..::..Version
[Missing <param name="matchVersion"/> documentation for "M:Lucene.Net.Analysis.StopFilter.GetEnablePositionIncrementsVersionDefault(Lucene.Net.Util.Version)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Analysis.StopFilter.GetEnablePositionIncrementsVersionDefault(Lucene.Net.Util.Version)"]