Class OfflineSorter.BufferSize
A bit more descriptive unit for constructors.
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class OfflineSorter.BufferSize
Methods
Automatic()
Approximately half of the currently available free heap, but no less than ABSOLUTE_MIN_SORT_BUFFER_SIZE. However if current heap allocation is insufficient or if there is a large portion of unallocated heap-space available for sorting consult with max allowed heap size.
Declaration
public static OfflineSorter.BufferSize Automatic()
Returns
Type | Description |
---|---|
OfflineSorter.BufferSize |
See Also
Megabytes(long)
Creates a OfflineSorter.BufferSize in MB. The given values must be > 0 and < 2048.
Declaration
public static OfflineSorter.BufferSize Megabytes(long mb)
Parameters
Type | Name | Description |
---|---|---|
long | mb |
Returns
Type | Description |
---|---|
OfflineSorter.BufferSize |