Set the position increment. The default value is one.

Namespace: Lucene.Net.Analysis.Tokenattributes
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
void SetPositionIncrement(
	int positionIncrement
)
Visual Basic
Sub SetPositionIncrement ( _
	positionIncrement As Integer _
)
Visual C++
void SetPositionIncrement(
	int positionIncrement
)

Parameters

positionIncrement
Type: System..::..Int32
the distance from the prior term

See Also