Shorthand for calling {@link #clear}, {@link #SetTermBuffer(String, int, int)}, {@link #setStartOffset}, {@link #setEndOffset} {@link #setType}

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

Syntax

C#
public virtual Token Reinit(
	string newTerm,
	int newTermOffset,
	int newTermLength,
	int newStartOffset,
	int newEndOffset,
	string newType
)
Visual Basic
Public Overridable Function Reinit ( _
	newTerm As String, _
	newTermOffset As Integer, _
	newTermLength As Integer, _
	newStartOffset As Integer, _
	newEndOffset As Integer, _
	newType As String _
) As Token
Visual C++
public:
virtual Token^ Reinit(
	String^ newTerm, 
	int newTermOffset, 
	int newTermLength, 
	int newStartOffset, 
	int newEndOffset, 
	String^ newType
)

Parameters

newTerm
Type: System..::..String

[Missing <param name="newTerm"/> documentation for "M:Lucene.Net.Analysis.Token.Reinit(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

newTermOffset
Type: System..::..Int32

[Missing <param name="newTermOffset"/> documentation for "M:Lucene.Net.Analysis.Token.Reinit(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

newTermLength
Type: System..::..Int32

[Missing <param name="newTermLength"/> documentation for "M:Lucene.Net.Analysis.Token.Reinit(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

newStartOffset
Type: System..::..Int32

[Missing <param name="newStartOffset"/> documentation for "M:Lucene.Net.Analysis.Token.Reinit(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

newEndOffset
Type: System..::..Int32

[Missing <param name="newEndOffset"/> documentation for "M:Lucene.Net.Analysis.Token.Reinit(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

newType
Type: System..::..String

[Missing <param name="newType"/> documentation for "M:Lucene.Net.Analysis.Token.Reinit(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

Return Value

this Token instance

See Also