Returns this Token's starting offset, the position of the first character corresponding to this token in the source text. Note that the difference between endOffset() and startOffset() may not be equal to termText.length(), as the term text may have been altered by a stemmer or some other filter.

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

Syntax

C#
public int StartOffset()
Visual Basic
Public Function StartOffset As Integer
Visual C++
public:
virtual int StartOffset() sealed

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Analysis.Token.StartOffset"]

Implements

OffsetAttribute..::..StartOffset()()()()

See Also