We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b325699 commit da28201Copy full SHA for da28201
server/src/main/java/org/elasticsearch/cluster/metadata/DataStream.java
@@ -88,7 +88,7 @@ public static boolean isFailureStoreFeatureFlagEnabled() {
88
public static final Comparator<LeafReader> TIMESERIES_LEAF_READERS_SORTER = Comparator.comparingLong((LeafReader r) -> {
89
try {
90
FieldInfo info = r.getFieldInfos().fieldInfo(TIMESTAMP_FIELD_NAME);
91
- if (info.docValuesSkipIndexType() == DocValuesSkipIndexType.RANGE) {
+ if (info != null && info.docValuesSkipIndexType() == DocValuesSkipIndexType.RANGE) {
92
DocValuesSkipper skipper = r.getDocValuesSkipper(TIMESTAMP_FIELD_NAME);
93
return skipper.maxValue();
94
}
0 commit comments