Returns the Token's term text. This method has a performance penalty because the text is stored internally in a char[]. If possible, use {@link #TermBuffer()} and {@link #TermLength()} directly instead. If you really need a String, use this method, which is nothing more than a convenience call to new String(token.termBuffer(), 0, token.termLength())

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

Syntax

C#
public string Term()
Visual Basic
Public Function Term As String
Visual C++
public:
virtual String^ Term() sealed

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Analysis.Token.Term"]

Implements

TermAttribute..::..Term()()()()

See Also