Called by CharFilter(s) and Tokenizer to correct token offset.

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

Syntax

C#
public abstract int CorrectOffset(
	int currentOff
)
Visual Basic
Public MustOverride Function CorrectOffset ( _
	currentOff As Integer _
) As Integer
Visual C++
public:
virtual int CorrectOffset(
	int currentOff
) abstract

Parameters

currentOff
Type: System..::..Int32
offset as seen in the output

Return Value

corrected offset based on the input

See Also