Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Field and Description |
---|---|
List<MergePolicy.OneMerge> |
MergePolicy.MergeSpecification.merges
The subset of segments to be included in the primitive merge.
|
Modifier and Type | Method and Description |
---|---|
MergePolicy.OneMerge |
ConcurrentMergeScheduler.MergeThread.getCurrentMerge() |
MergePolicy.OneMerge |
IndexWriter.getNextMerge()
Expert: the
MergeScheduler calls this method
to retrieve the next merge requested by the
MergePolicy |
MergePolicy.OneMerge |
ConcurrentMergeScheduler.MergeThread.getRunningMerge() |
Modifier and Type | Method and Description |
---|---|
void |
MergePolicy.MergeSpecification.add(MergePolicy.OneMerge merge) |
protected void |
ConcurrentMergeScheduler.doMerge(MergePolicy.OneMerge merge)
Does the actual merge, by calling
IndexWriter.merge(org.apache.lucene.index.MergePolicy.OneMerge) |
protected ConcurrentMergeScheduler.MergeThread |
ConcurrentMergeScheduler.getMergeThread(IndexWriter writer,
MergePolicy.OneMerge merge)
Create and return a new MergeThread
|
void |
IndexWriter.merge(MergePolicy.OneMerge merge)
Merges the indicated segments, replacing them in the stack with a
single segment.
|
void |
ConcurrentMergeScheduler.MergeThread.setRunningMerge(MergePolicy.OneMerge merge) |
Constructor and Description |
---|
ConcurrentMergeScheduler.MergeThread(IndexWriter writer,
MergePolicy.OneMerge startMerge) |