Skip to content

Commit 668018b

Browse files
committed
Update min version to 2_19_1
* since 2.19 version has been merged: opensearch-project#17420 Signed-off-by: Asim Mahmood <asim.seng@gmail.com>
1 parent a11eb0e commit 668018b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/opensearch/search/aggregations/metrics/CardinalityAggregationBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public CardinalityAggregationBuilder(StreamInput in) throws IOException {
116116
if (in.readBoolean()) {
117117
precisionThreshold = in.readLong();
118118
}
119-
if (in.getVersion().onOrAfter(Version.V_2_20_0)) {
119+
if (in.getVersion().onOrAfter(Version.V_2_19_1)) {
120120
executionHint = in.readOptionalString();
121121
}
122122
}
@@ -133,7 +133,7 @@ protected void innerWriteTo(StreamOutput out) throws IOException {
133133
if (hasPrecisionThreshold) {
134134
out.writeLong(precisionThreshold);
135135
}
136-
if (out.getVersion().onOrAfter(Version.V_2_20_0)) {
136+
if (out.getVersion().onOrAfter(Version.V_2_19_1)) {
137137
out.writeOptionalString(executionHint);
138138
}
139139
}

0 commit comments

Comments
 (0)