public final class SortingMergePolicy extends MergePolicyWrapper
MergePolicy.MergeAbortedException, MergePolicy.MergeException, MergePolicy.MergeSpecification, MergePolicy.OneMerge, MergePolicy.OneMergeProgress
in
DEFAULT_MAX_CFS_SEGMENT_SIZE, DEFAULT_NO_CFS_RATIO, maxCFSSegmentSize, noCFSRatio
Constructor and Description |
---|
SortingMergePolicy(MergePolicy in,
Sort sort)
Create a new
MergePolicy that sorts documents with the given sort . |
Modifier and Type | Method and Description |
---|---|
Sort |
getSort()
Return the
Sort order that is used to sort segments when merging. |
String |
toString() |
findForcedDeletesMerges, findForcedMerges, findMerges, getNoCFSRatio, setMaxCFSSegmentSizeMB, setNoCFSRatio, size, useCompoundFile
getMaxCFSSegmentSizeMB, isMerged
public SortingMergePolicy(MergePolicy in, Sort sort)
MergePolicy
that sorts documents with the given sort
.public String toString()
toString
in class MergePolicyWrapper
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.