Class SerialMergeScheduler
A MergeScheduler that simply does each merge sequentially, using the current thread.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public class SerialMergeScheduler : MergeScheduler, IMergeScheduler, IDisposable
Constructors
| Improve this Doc View SourceSerialMergeScheduler()
Sole constructor.
Declaration
public SerialMergeScheduler()
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
| Improve this Doc View SourceMerge(IndexWriter, MergeTrigger, Boolean)
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.
Declaration
public override void Merge(IndexWriter writer, MergeTrigger trigger, bool newMergesFound)
Parameters
Type | Name | Description |
---|---|---|
IndexWriter | writer | |
MergeTrigger | trigger | |
System.Boolean | newMergesFound |
Overrides
Implements
System.IDisposable