diff --git a/docs/reference/esql/functions/signature/match_operator.svg b/docs/reference/esql/functions/signature/match_operator.svg new file mode 100644 index 0000000000000..3ba814bf439a8 --- /dev/null +++ b/docs/reference/esql/functions/signature/match_operator.svg @@ -0,0 +1 @@ +field:value \ No newline at end of file diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/RailRoadDiagram.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/RailRoadDiagram.java index f4bb4f4a12dbb..43e2ededeff0e 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/RailRoadDiagram.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/RailRoadDiagram.java @@ -97,7 +97,7 @@ static String searchOperator(String operator) throws IOException { List expressions = new ArrayList<>(); expressions.add(new Literal("field")); expressions.add(new Syntax(operator)); - expressions.add(new Literal("value")); + expressions.add(new Literal("query")); return toSvg(new Sequence(expressions.toArray(Expression[]::new))); }