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:
Adrien Grand 2013-03-23 15:06:31 +00:00
parent 258fc9f41a
commit 467f8af889
1 changed files with 5 additions and 0 deletions
lucene/misc/src/java/org/apache/lucene/index/sorter

View File

@ -124,6 +124,11 @@ public final class SortingMergePolicy extends MergePolicy {
return sortedMergeSpecification(in.findForcedDeletesMerges(segmentInfos));
}
@Override
public MergePolicy clone() {
return new SortingMergePolicy(in.clone(), sorter);
}
@Override
public void close() {
in.close();