Skip to content

Commit 3e60a74

Browse files
committed
removed unused exception
1 parent 6921dd8 commit 3e60a74

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

server/src/main/java/org/elasticsearch/index/codec/tsdb/es819/DocValuesConsumerUtil.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
import org.apache.lucene.index.MergeState;
1515
import org.elasticsearch.index.codec.XPerFieldDocValuesFormat;
1616

17-
import java.io.IOException;
18-
1917
/**
2018
* Contains logic to determine whether optimized merge can occur.
2119
*/
@@ -25,8 +23,7 @@ class DocValuesConsumerUtil {
2523

2624
record MergeStats(boolean supported, long sumNumValues, int sumNumDocsWithField) {}
2725

28-
static MergeStats compatibleWithOptimizedMerge(boolean optimizedMergeEnabled, MergeState mergeState, FieldInfo fieldInfo)
29-
throws IOException {
26+
static MergeStats compatibleWithOptimizedMerge(boolean optimizedMergeEnabled, MergeState mergeState, FieldInfo fieldInfo) {
3027
if (optimizedMergeEnabled == false || mergeState.needsIndexSort == false) {
3128
return UNSUPPORTED;
3229
}

0 commit comments

Comments
 (0)