Skip to content

Commit f420b52

Browse files
Update x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/MultiMatch.java
Co-authored-by: Carlos Delgado <[email protected]>
1 parent 262db09 commit f420b52

File tree

1 file changed

+1
-3
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext

1 file changed

+1
-3
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/MultiMatch.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,7 @@ public void writeTo(StreamOutput out) throws IOException {
280280
source().writeTo(out);
281281
out.writeNamedWriteable(query());
282282
out.writeNamedWriteableCollection(fields);
283-
if (out.getTransportVersion().onOrAfter(TransportVersions.ESQL_QUERY_BUILDER_IN_SEARCH_FUNCTIONS)) {
284-
out.writeOptionalNamedWriteable(queryBuilder());
285-
}
283+
out.writeOptionalNamedWriteable(queryBuilder());
286284
}
287285

288286
@Override

0 commit comments

Comments
 (0)