File tree 1 file changed +2
-2
lines changed
server/src/main/java/org/elasticsearch/action/admin/indices/stats
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public CommonStatsFlags(StreamInput in) throws IOException {
64
64
fieldDataFields = in .readStringArray ();
65
65
completionDataFields = in .readStringArray ();
66
66
includeSegmentFileSizes = in .readBoolean ();
67
- if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) {
67
+ if (in .getVersion ().onOrAfter (Version .V_7_1_0 )) {
68
68
includeUnloadedSegments = in .readBoolean ();
69
69
}
70
70
}
@@ -82,7 +82,7 @@ public void writeTo(StreamOutput out) throws IOException {
82
82
out .writeStringArrayNullable (fieldDataFields );
83
83
out .writeStringArrayNullable (completionDataFields );
84
84
out .writeBoolean (includeSegmentFileSizes );
85
- if (out .getVersion ().onOrAfter (Version .V_8_0_0 )) {
85
+ if (out .getVersion ().onOrAfter (Version .V_7_1_0 )) {
86
86
out .writeBoolean (includeUnloadedSegments );
87
87
}
88
88
}
You can’t perform that action at this time.
0 commit comments