Class OfflineSorter.BufferSize
A bit more descriptive unit for constructors.
Inheritance
System.Object
OfflineSorter.BufferSize
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class BufferSize : object
Methods
| Improve this Doc View SourceAutomatic()
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 |
---|---|
Offline |
Megabytes(Int64)
Creates a Offline
Declaration
public static OfflineSorter.BufferSize Megabytes(long mb)
Parameters
Type | Name | Description |
---|---|---|
System. |
mb |
Returns
Type | Description |
---|---|
Offline |