Class MergePolicy.MergeSpecification
A MergePolicy.MergeSpecification instance provides the information necessary to perform multiple merges. It simply contains a list of MergePolicy.OneMerge instances.
Inheritance
System.Object
MergePolicy.MergeSpecification
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 MergeSpecification
Constructors
| Improve this Doc View SourceMergeSpecification()
Sole constructor. Use Add(MergePolicy.OneMerge) to add merges.
Declaration
public MergeSpecification()
Properties
| Improve this Doc View SourceMerges
The subset of segments to be included in the primitive merge.
Declaration
public IList<MergePolicy.OneMerge> Merges { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<MergePolicy.OneMerge> |
Methods
| Improve this Doc View SourceAdd(MergePolicy.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 |
---|---|
System.String |