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#
public virtual char[] TermBuffer()
Visual Basic
Public Overridable Function TermBuffer As Char()
Visual C++
public:
virtual array<wchar_t>^ TermBuffer()

Return Value

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

Implements

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

See Also