Commit 02e3c56 1 parent 52ce070 commit 02e3c56 Copy full SHA for 02e3c56
File tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/search/builder
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ public SearchSourceBuilder(StreamInput in) throws IOException {
289
289
if (in .getVersion ().onOrAfter (Version .V_2_13_0 )) {
290
290
includeNamedQueriesScore = in .readOptionalBoolean ();
291
291
}
292
- if (in .getVersion ().onOrAfter (Version .V_3_0_0 )) {
292
+ if (in .getVersion ().onOrAfter (Version .V_2_14_0 )) {
293
293
if (in .readBoolean ()) {
294
294
derivedFieldsObject = in .readMap ();
295
295
}
@@ -365,7 +365,7 @@ public void writeTo(StreamOutput out) throws IOException {
365
365
if (out .getVersion ().onOrAfter (Version .V_2_13_0 )) {
366
366
out .writeOptionalBoolean (includeNamedQueriesScore );
367
367
}
368
- if (out .getVersion ().onOrAfter (Version .V_3_0_0 )) {
368
+ if (out .getVersion ().onOrAfter (Version .V_2_14_0 )) {
369
369
boolean hasDerivedFieldsObject = derivedFieldsObject != null ;
370
370
out .writeBoolean (hasDerivedFieldsObject );
371
371
if (hasDerivedFieldsObject ) {
You can’t perform that action at this time.
0 commit comments