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
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public char[] TermBuffer()
Visual Basic
Public Function TermBuffer As Char()
Visual C++
public:
virtual array<wchar_t>^ TermBuffer() sealed

Return Value

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

Implements

TermAttribute..::..TermBuffer()()()()

See Also