Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentMergeScheduler
A
MergeScheduler that runs each merge using a
separate thread. |
class |
NoMergeScheduler
A
MergeScheduler which never executes any merges. |
class |
SerialMergeScheduler
A
MergeScheduler that simply does each merge
sequentially, using the current thread. |
Modifier and Type | Field and Description |
---|---|
static MergeScheduler |
NoMergeScheduler.INSTANCE
The single instance of
NoMergeScheduler |
Modifier and Type | Method and Description |
---|---|
MergeScheduler |
IndexWriterConfig.getMergeScheduler()
Returns the
MergeScheduler that was set by
IndexWriterConfig.setMergeScheduler(MergeScheduler) |
MergeScheduler |
IndexWriter.getMergeScheduler()
Deprecated.
use
IndexWriterConfig.getMergeScheduler() instead |
Modifier and Type | Method and Description |
---|---|
IndexWriterConfig |
IndexWriterConfig.setMergeScheduler(MergeScheduler mergeScheduler)
Expert: sets the merge scheduler used by this writer.
|
void |
IndexWriter.setMergeScheduler(MergeScheduler mergeScheduler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MergeScheduler |
NRTCachingDirectory.getMergeScheduler() |