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 |
IndexWriter.getNextMerge()
Expert: 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(IndexWriter writer,
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.
|
Directory |
NoMergeScheduler.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 |
ConcurrentMergeScheduler.wrapForMerge(MergePolicy.OneMerge merge,
Directory in) |
Constructor and Description |
---|
MergeThread(IndexWriter writer,
MergePolicy.OneMerge merge)
Sole constructor.
|
Constructor and Description |
---|
OneMergeWrappingMergePolicy(MergePolicy in,
UnaryOperator<MergePolicy.OneMerge> wrapOneMerge)
Constructor
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.