The SegmentMerger class combines two or more Segments, represented by an IndexReader ({@link #add}, into a single Segment. After adding the appropriate readers, call the merge method to combine the segments.

If the compoundFile flag is set, then the segments will be merged into a compound file.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public sealed class SegmentMerger
Visual Basic
Public NotInheritable Class SegmentMerger
Visual C++
public ref class SegmentMerger sealed

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Index..::..SegmentMerger

See Also