Package | Description |
---|---|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
static OfflineSorter.BufferSize |
OfflineSorter.BufferSize.automatic()
Approximately half of the currently available free heap, but no less
than
OfflineSorter.ABSOLUTE_MIN_SORT_BUFFER_SIZE . |
static OfflineSorter.BufferSize |
OfflineSorter.BufferSize.megabytes(long mb)
Creates a
OfflineSorter.BufferSize in MB. |
Constructor and Description |
---|
OfflineSorter(Directory dir,
String tempFileNamePrefix,
Comparator<BytesRef> comparator,
OfflineSorter.BufferSize ramBufferSize,
int maxTempfiles,
int valueLength,
ExecutorService exec,
int maxPartitionsInRAM)
All-details constructor.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.