public class


extends MergeScheduler
   ↳ org.apache.lucene.index.MergeScheduler
     ↳ org.apache.lucene.index.SerialMergeScheduler

Class Overview

A MergeScheduler that simply does each merge sequentially, using the current thread.


Public Constructors
Public Methods
void close()
Close this MergeScheduler.
synchronized void merge(IndexWriter writer)
Just do the merges in sequence.
Inherited Methods
From class java.lang.Object

Public Constructors

public SerialMergeScheduler ()

Public Methods

public void close ()

Close this MergeScheduler.

public synchronized void merge (IndexWriter writer)

Just do the merges in sequence. We do this "synchronized" so that even if the application is using multiple threads, only one merge may run at a time.