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 |
MergeScheduler.MergeSource.getNextMerge()
The
MergeScheduler calls this method to retrieve the next
merge requested by the MergePolicy |
Modifier and Type | Method and Description |
---|---|
void |
MergePolicy.MergeSpecification.add(MergePolicy.OneMerge merge)
Adds the provided
MergePolicy.OneMerge to this
specification. |
protected void |
ConcurrentMergeScheduler.doMerge(MergeScheduler.MergeSource mergeSource,
MergePolicy.OneMerge merge)
Does the actual merge, by calling
MergeScheduler.MergeSource.merge(org.apache.lucene.index.MergePolicy.OneMerge) |
protected ConcurrentMergeScheduler.MergeThread |
ConcurrentMergeScheduler.getMergeThread(MergeScheduler.MergeSource mergeSource,
MergePolicy.OneMerge merge)
Create and return a new MergeThread
|
void |
MergeScheduler.MergeSource.merge(MergePolicy.OneMerge merge)
Merges the indicated segments, replacing them in the stack with a
single segment.
|
protected void |
IndexWriter.merge(MergePolicy.OneMerge merge)
Merges the indicated segments, replacing them in the stack with a
single segment.
|
protected void |
IndexWriter.mergeSuccess(MergePolicy.OneMerge merge)
Hook that's called when the specified merge is complete.
|
void |
MergeScheduler.MergeSource.onMergeFinished(MergePolicy.OneMerge merge)
Does finishing for a merge.
|
Directory |
ConcurrentMergeScheduler.wrapForMerge(MergePolicy.OneMerge merge,
Directory in) |
Directory |
MergeScheduler.wrapForMerge(MergePolicy.OneMerge merge,
Directory in)
Wraps the incoming
Directory so that we can merge-throttle it
using RateLimitedIndexOutput . |
Directory |
NoMergeScheduler.wrapForMerge(MergePolicy.OneMerge merge,
Directory in) |
Constructor and Description |
---|
MergeThread(MergeScheduler.MergeSource mergeSource,
MergePolicy.OneMerge merge)
Sole constructor.
|
Constructor and Description |
---|
OneMergeWrappingMergePolicy(MergePolicy in,
UnaryOperator<MergePolicy.OneMerge> wrapOneMerge)
Constructor
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.