Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Expert: IndexWriter uses an instance implementing this interface to execute the merges selected by a MergePolicy. The default MergeScheduler is ConcurrentMergeScheduler. More...
Inherits IDisposable.
Inherited by Lucene.Net.Index.ConcurrentMergeScheduler, and Lucene.Net.Index.SerialMergeScheduler.
Public Member Functions | |
abstract void | Merge (IndexWriter writer) |
Run the merges provided by IndexWriter.GetNextMerge(). | |
void | Close () |
void | Dispose () |
Protected Member Functions | |
abstract void | Dispose (bool disposing) |
Close this MergeScheduler. | |
Expert: IndexWriter uses an instance implementing this interface to execute the merges selected by a MergePolicy. The default MergeScheduler is ConcurrentMergeScheduler.
NOTE: This API is new and still experimental (subject to change suddenly in the next release)
NOTE: This class typically requires access to package-private APIs (eg, SegmentInfos) to do its job; if you implement your own MergePolicy, you'll need to put it in package Lucene.Net.Index in order to use these APIs.
Definition at line 38 of file MergeScheduler.cs.
void Lucene.Net.Index.MergeScheduler.Close | ( | ) |
Definition at line 45 of file MergeScheduler.cs.
void Lucene.Net.Index.MergeScheduler.Dispose | ( | ) |
Definition at line 50 of file MergeScheduler.cs.
|
protectedpure virtual |
Close this MergeScheduler.
Implemented in Lucene.Net.Index.ConcurrentMergeScheduler, and Lucene.Net.Index.SerialMergeScheduler.
|
pure virtual |
Run the merges provided by IndexWriter.GetNextMerge().
Implemented in Lucene.Net.Index.ConcurrentMergeScheduler, and Lucene.Net.Index.SerialMergeScheduler.