Set the default position increments behavior of every StopFilter created
from now on.
Note: behavior of a single StopFilter instance can be modified with
{@link #SetEnablePositionIncrements(boolean)}. This static method allows
control over behavior of classes using StopFilters internally, for
example {@link Lucene.Net.Analysis.Standard.StandardAnalyzer
StandardAnalyzer} if used with the no-arg ctor.
Default : false.
Namespace: Lucene.Net.AnalysisAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[ObsoleteAttribute("Please specify this when you create the StopFilter")] public static void SetEnablePositionIncrementsDefault( bool defaultValue ) |
Visual Basic |
---|
<ObsoleteAttribute("Please specify this when you create the StopFilter")> _ Public Shared Sub SetEnablePositionIncrementsDefault ( _ defaultValue As Boolean _ ) |
Visual C++ |
---|
[ObsoleteAttribute(L"Please specify this when you create the StopFilter")] public: static void SetEnablePositionIncrementsDefault( bool defaultValue ) |
Parameters
- defaultValue
- Type: System..::..Boolean
[Missing <param name="defaultValue"/> documentation for "M:Lucene.Net.Analysis.StopFilter.SetEnablePositionIncrementsDefault(System.Boolean)"]