mirror of https://github.com/apache/lucene.git
LUCENE-4752: Fix SortingMergePolicy.clone.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460169 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
258fc9f41a
commit
467f8af889
|
@ -124,6 +124,11 @@ public final class SortingMergePolicy extends MergePolicy {
|
||||||
return sortedMergeSpecification(in.findForcedDeletesMerges(segmentInfos));
|
return sortedMergeSpecification(in.findForcedDeletesMerges(segmentInfos));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MergePolicy clone() {
|
||||||
|
return new SortingMergePolicy(in.clone(), sorter);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void close() {
|
public void close() {
|
||||||
in.close();
|
in.close();
|
||||||
|
|
Loading…
Reference in New Issue