public class SerialMergeScheduler extends MergeScheduler
MergeScheduler
that simply does each merge
sequentially, using the current thread.MergeScheduler.MergeSource
infoStream
Constructor and Description |
---|
SerialMergeScheduler()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this MergeScheduler.
|
void |
merge(MergeScheduler.MergeSource mergeSource,
MergeTrigger trigger)
Just do the merges in sequence.
|
message, verbose, wrapForMerge
public void merge(MergeScheduler.MergeSource mergeSource, MergeTrigger trigger) throws IOException
merge
in class MergeScheduler
mergeSource
- the IndexWriter
to obtain the merges from.trigger
- the MergeTrigger
that caused this merge to happenIOException
public void close()
MergeScheduler
close
in interface Closeable
close
in interface AutoCloseable
close
in class MergeScheduler
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.