Shorthand for calling {@link #clear},
{@link #SetTermBuffer(String)},
{@link #setStartOffset},
{@link #setEndOffset}
{@link #setType} on Token.DEFAULT_TYPE
Namespace: Lucene.Net.AnalysisAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual Token Reinit( string newTerm, int newStartOffset, int newEndOffset ) |
Visual Basic |
---|
Public Overridable Function Reinit ( _ newTerm As String, _ newStartOffset As Integer, _ newEndOffset As Integer _ ) As Token |
Visual C++ |
---|
public: virtual Token^ Reinit( String^ newTerm, int newStartOffset, int newEndOffset ) |
Parameters
- newTerm
- Type: System..::..String
[Missing <param name="newTerm"/> documentation for "M:Lucene.Net.Analysis.Token.Reinit(System.String,System.Int32,System.Int32)"]
- newStartOffset
- Type: System..::..Int32
[Missing <param name="newStartOffset"/> documentation for "M:Lucene.Net.Analysis.Token.Reinit(System.String,System.Int32,System.Int32)"]
- newEndOffset
- Type: System..::..Int32
[Missing <param name="newEndOffset"/> documentation for "M:Lucene.Net.Analysis.Token.Reinit(System.String,System.Int32,System.Int32)"]