Sets the Token's term text. NOTE: for better indexing speed you should instead use the char[] termBuffer methods to set the term text.

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

Syntax

C#
[ObsoleteAttribute("Use SetTermBuffer(char[], int, int) or SetTermBuffer(String) or SetTermBuffer(String, int, int)")]
public virtual void SetTermText(
	string text
)
Visual Basic
<ObsoleteAttribute("Use SetTermBuffer(char[], int, int) or SetTermBuffer(String) or SetTermBuffer(String, int, int)")> _
Public Overridable Sub SetTermText ( _
	text As String _
)
Visual C++
[ObsoleteAttribute(L"Use SetTermBuffer(char[], int, int) or SetTermBuffer(String) or SetTermBuffer(String, int, int)")]
public:
virtual void SetTermText(
	String^ text
)

Parameters

text
Type: System..::..String

[Missing <param name="text"/> documentation for "M:Lucene.Net.Analysis.Token.SetTermText(System.String)"]

See Also