Skip to content

Commit

Permalink
[ES|QL] Change function_named_parameters in Kibana doc to expected fo…
Browse files Browse the repository at this point in the history
…rmat (#121585)

* change function_named_parameters in kibana doc to expected format
  • Loading branch information
fang-xing-esql authored Feb 4, 2025
1 parent 0af4646 commit f58fdf8
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 68 deletions.
2 changes: 1 addition & 1 deletion docs/reference/esql/functions/kibana/definition/kql.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

118 changes: 59 additions & 59 deletions docs/reference/esql/functions/kibana/definition/match.json

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/esql/functions/kibana/definition/qstr.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/esql/functions/kibana/docs/kql.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/esql/functions/kibana/docs/match.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/esql/functions/kibana/docs/qstr.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public Match(
valueHint = { "none", "all" },
description = "Number of beginning characters left unchanged for fuzzy matching."
) },
description = "Match additional options as <<esql-function-named-params,function named parameters>>."
description = "(Optional) Match additional options as <<esql-function-named-params,function named parameters>>."
+ " See <<query-dsl-match-query,match query>> for more information.",
optional = true
) Expression options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ private static void renderKibanaFunctionDefinition(
builder.startObject();
builder.field("name", arg.name());
if (arg.mapArg()) {
builder.field("type", "function named parameters");
builder.field("type", "function_named_parameters");
builder.field(
"mapParams",
arg.mapParams()
Expand Down

0 comments on commit f58fdf8

Please sign in to comment.