Class MergePolicy.MergeSpecification
A MergePolicy.MergeSpecification instance provides the information necessary to perform multiple merges. It simply contains a list of MergePolicy.OneMerge instances.
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public class MergePolicy.MergeSpecification
Constructors
MergeSpecification()
Sole constructor. Use Add(OneMerge) to add merges.
Declaration
public MergeSpecification()
Properties
Merges
The subset of segments to be included in the primitive merge.
Declaration
public IList<MergePolicy.OneMerge> Merges { get; }
Property Value
Type | Description |
---|---|
IList<MergePolicy.OneMerge> |
Methods
Add(OneMerge)
Adds the provided MergePolicy.OneMerge to this specification.
Declaration
public virtual void Add(MergePolicy.OneMerge merge)
Parameters
Type | Name | Description |
---|---|---|
MergePolicy.OneMerge | merge |
SegString(Directory)
Returns a description of the merges in this specification.
Declaration
public virtual string SegString(Directory dir)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir |
Returns
Type | Description |
---|---|
string |