Method GetEnablePositionIncrementsVersionDefault
GetEnablePositionIncrementsVersionDefault(Version)
Returns version-dependent default for enablePositionIncrements. Analyzers
that embed StopFilter use this method when creating the StopFilter. Prior
to 2.9, this returns false. On 2.9 or later, it returns true.
Declaration
public static bool GetEnablePositionIncrementsVersionDefault(Version matchVersion)
Parameters
Type |
Name |
Description |
Lucene.Net.Util.Version |
matchVersion |
|
Returns
Type |
Description |
System.Boolean |
|