Set to to enable position increments in result query.
When set, result phrase and multi-phrase queries will
be aware of position increments.
Useful when e.g. a StopFilter increases the position increment of
the token that follows an omitted token.
Default: false.
Namespace: Lucene.Net.QueryParsersCopyC#
true
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual void SetEnablePositionIncrements( bool enable ) |
Visual Basic |
---|
Public Overridable Sub SetEnablePositionIncrements ( _ enable As Boolean _ ) |
Visual C++ |
---|
public: virtual void SetEnablePositionIncrements( bool enable ) |
Parameters
- enable
- Type: System..::..Boolean
[Missing <param name="enable"/> documentation for "M:Lucene.Net.QueryParsers.QueryParser.SetEnablePositionIncrements(System.Boolean)"]