File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/search/aggregations/metrics Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public CardinalityAggregationBuilder(StreamInput in) throws IOException {
116
116
if (in .readBoolean ()) {
117
117
precisionThreshold = in .readLong ();
118
118
}
119
- if (in .getVersion ().onOrAfter (Version .V_3_0_0 )) {
119
+ if (in .getVersion ().onOrAfter (Version .V_2_19_1 )) {
120
120
executionHint = in .readOptionalString ();
121
121
}
122
122
}
@@ -133,7 +133,7 @@ protected void innerWriteTo(StreamOutput out) throws IOException {
133
133
if (hasPrecisionThreshold ) {
134
134
out .writeLong (precisionThreshold );
135
135
}
136
- if (out .getVersion ().onOrAfter (Version .V_3_0_0 )) {
136
+ if (out .getVersion ().onOrAfter (Version .V_2_19_1 )) {
137
137
out .writeOptionalString (executionHint );
138
138
}
139
139
}
You can’t perform that action at this time.
0 commit comments