Grows the termBuffer to at least size newSize, preserving the
existing content. Note: If the next operation is to change
the contents of the term buffer use
{@link #SetTermBuffer(char[], int, int)},
{@link #SetTermBuffer(String)}, or
{@link #SetTermBuffer(String, int, int)}
to optimally combine the resize with the setting of the termBuffer.
Namespace: Lucene.Net.AnalysisAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual char[] ResizeTermBuffer( int newSize ) |
Visual Basic |
---|
Public Overridable Function ResizeTermBuffer ( _ newSize As Integer _ ) As Char() |
Visual C++ |
---|
public: virtual array<wchar_t>^ ResizeTermBuffer( int newSize ) |
Parameters
- newSize
- Type: System..::..Int32
minimum size of the new termBuffer