File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/index/search/stats Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ private Stats(StreamInput in) throws IOException {
141
141
suggestTimeInMillis = in .readVLong ();
142
142
suggestCurrent = in .readVLong ();
143
143
144
- if (in .getVersion ().onOrAfter (Version .V_3_0_0 )) {
144
+ if (in .getVersion ().onOrAfter (Version .V_2_4_0 )) {
145
145
pitCount = in .readVLong ();
146
146
pitTimeInMillis = in .readVLong ();
147
147
pitCurrent = in .readVLong ();
@@ -292,7 +292,7 @@ public void writeTo(StreamOutput out) throws IOException {
292
292
out .writeVLong (suggestTimeInMillis );
293
293
out .writeVLong (suggestCurrent );
294
294
295
- if (out .getVersion ().onOrAfter (Version .V_3_0_0 )) {
295
+ if (out .getVersion ().onOrAfter (Version .V_2_4_0 )) {
296
296
out .writeVLong (pitCount );
297
297
out .writeVLong (pitTimeInMillis );
298
298
out .writeVLong (pitCurrent );
You can’t perform that action at this time.
0 commit comments