| Package | Description |
|---|---|
| org.apache.lucene.index |
Code to maintain and access indices.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentMergeScheduler
A
MergeScheduler that runs each merge using a
separate thread, up until a maximum number of threads
(ConcurrentMergeScheduler.setMaxThreadCount(int)) at which when a merge is
needed, the thread(s) that are updating the index will
pause until one or more merges completes. |
class |
SerialMergeScheduler
A
MergeScheduler that simply does each merge
sequentially, using the current thread. |
| Modifier and Type | Method and Description |
|---|---|
MergeScheduler |
IndexWriter.getMergeScheduler()
Expert: returns the current MergePolicy in use by this
writer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IndexWriter.setMergeScheduler(MergeScheduler mergeScheduler)
Expert: set the merge scheduler used by this writer.
|
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.