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.Tokenattributes
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

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

Return Value

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

Implements

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

See Also