Package org.apache.lucene.index
Class MergePolicy.MergeSpecification
java.lang.Object
org.apache.lucene.index.MergePolicy.MergeSpecification
- Enclosing class:
- MergePolicy
A MergeSpecification instance provides the information necessary to perform multiple merges. It
simply contains a list of
MergePolicy.OneMerge
instances.-
Field Summary
Modifier and TypeFieldDescriptionfinal List<MergePolicy.OneMerge>
The subset of segments to be included in the primitive merge. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(MergePolicy.OneMerge merge) Adds the providedMergePolicy.OneMerge
to this specification.Returns a description of the merges in this specification.toString()
-
Field Details
-
merges
The subset of segments to be included in the primitive merge.
-
-
Constructor Details
-
MergeSpecification
public MergeSpecification()Sole constructor. Useadd(MergePolicy.OneMerge)
to add merges.
-
-
Method Details
-
add
Adds the providedMergePolicy.OneMerge
to this specification. -
segString
Returns a description of the merges in this specification. -
toString
-