Returns the internal termBuffer character array which you can then directly alter. If the array is too small for your token, use {@link #ResizeTermBuffer(int)} to increase it. After altering the buffer be sure to call {@link #setTermLength} to record the number of valid characters that were placed into the termBuffer.

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

Syntax

C#
char[] TermBuffer()
Visual Basic
Function TermBuffer As Char()
Visual C++
array<wchar_t>^ TermBuffer()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Analysis.Tokenattributes.TermAttribute.TermBuffer"]

See Also