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 {@link #termLength}, as the term text may have been altered by a stemmer or some other filter.
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 {@link #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.
@see #setOffset(int,int)
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.