Skip to content

Commit 0d18851

Browse files
committed
Updated version to 2.18
Signed-off-by: Owais <[email protected]>
1 parent 085cc7a commit 0d18851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/opensearch/search/builder/SearchSourceBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public SearchSourceBuilder(StreamInput in) throws IOException {
308308
derivedFields = in.readList(DerivedField::new);
309309
}
310310
}
311-
if (in.getVersion().onOrAfter(Version.V_3_0_0)) {
311+
if (in.getVersion().onOrAfter(Version.V_2_18_0)) {
312312
searchPipeline = in.readOptionalString();
313313
}
314314
}
@@ -399,7 +399,7 @@ public void writeTo(StreamOutput out) throws IOException {
399399
out.writeList(derivedFields);
400400
}
401401
}
402-
if (out.getVersion().onOrAfter(Version.V_3_0_0)) {
402+
if (out.getVersion().onOrAfter(Version.V_2_18_0)) {
403403
out.writeOptionalString(searchPipeline);
404404
}
405405
}

0 commit comments

Comments
 (0)