Skip to content

Commit 1603f4e

Browse files
author
Junwei Dai
committed
change version to 2.19
Signed-off-by: Junwei Dai <[email protected]>
1 parent e15f712 commit 1603f4e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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
@@ -305,7 +305,7 @@ public SearchSourceBuilder(StreamInput in) throws IOException {
305305
if (in.getVersion().onOrAfter(Version.V_2_18_0)) {
306306
searchPipeline = in.readOptionalString();
307307
}
308-
if (in.getVersion().onOrAfter(Version.V_3_0_0)) {
308+
if (in.getVersion().onOrAfter(Version.V_2_19_0)) {
309309
verbosePipeline = in.readBoolean();
310310
}
311311
}
@@ -391,7 +391,7 @@ public void writeTo(StreamOutput out) throws IOException {
391391
if (out.getVersion().onOrAfter(Version.V_2_18_0)) {
392392
out.writeOptionalString(searchPipeline);
393393
}
394-
if (out.getVersion().onOrAfter(Version.V_3_0_0)) {
394+
if (out.getVersion().onOrAfter(Version.V_2_19_0)) {
395395
out.writeBoolean(verbosePipeline);
396396
}
397397
}

server/src/main/java/org/opensearch/search/internal/InternalSearchResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ private static void writeSearchExtBuildersOnOrAfter(StreamOutput out, List<Searc
149149
}
150150

151151
private static List<ProcessorExecutionDetail> readProcessorResultOnOrAfter(StreamInput in) throws IOException {
152-
return (in.getVersion().onOrAfter(Version.V_3_0_0)) ? in.readList(ProcessorExecutionDetail::new) : Collections.emptyList();
152+
return (in.getVersion().onOrAfter(Version.V_2_19_0)) ? in.readList(ProcessorExecutionDetail::new) : Collections.emptyList();
153153
}
154154

155155
private static void writeProcessorResultOnOrAfter(StreamOutput out, List<ProcessorExecutionDetail> processorResult) throws IOException {
156-
if (out.getVersion().onOrAfter(Version.V_3_0_0)) {
156+
if (out.getVersion().onOrAfter(Version.V_2_19_0)) {
157157
out.writeList(processorResult);
158158
}
159159
}

0 commit comments

Comments
 (0)