Skip to content

Commit 7401620

Browse files
committed
multi-match docs arent published, reduce noise by reverting changes
1 parent c52896a commit 7401620

File tree

7 files changed

+16
-19
lines changed

7 files changed

+16
-19
lines changed

docs/reference/query-languages/esql/_snippets/functions/description/multi_match.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/examples/multi_match.md

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/layout/multi_match.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/parameters/multi_match.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/kibana/definition/functions/multi_match.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/kibana/docs/functions/multi_match.md

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,18 @@ public class MultiMatch extends FullTextFunction implements OptionalArgument, Po
137137
@FunctionInfo(
138138
returnType = "boolean",
139139
preview = true,
140-
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.0.0") },
141140
description = """
142-
Use `MULTI_MATCH` to perform a
143-
[multi-match query](/reference/query-languages/query-dsl/query-dsl-match-query.md#query-dsl-multi-match-query)
144-
on the specified field.
145-
This query builds on the match query to allow multi-field queries.""",
141+
Use `MULTI_MATCH` to perform a <<query-dsl-multi-match-query,multi-match query>> on the specified field.
142+
The multi_match query builds on the match query to allow multi-field queries.""",
146143
examples = {
147144
@Example(file = "multi-match-function", tag = "multi-match-with-field"),
148-
@Example(file = "multi-match-function", tag = "multi-match-with-named-function-params", applies_to = "stack: ga 9.1.0") }
145+
@Example(file = "multi-match-function", tag = "multi-match-with-named-function-params") },
146+
appliesTo = {
147+
@FunctionAppliesTo(
148+
lifeCycle = FunctionAppliesToLifecycle.COMING,
149+
version = "9.1.0",
150+
description = "Support for optional named parameters is only available from 9.1.0"
151+
) }
149152
)
150153
public MultiMatch(
151154
Source source,
@@ -254,7 +257,7 @@ public MultiMatch(
254257
+ "See <<multi-match-types,multi_match types>>."
255258
), },
256259
description = "(Optional) Additional options for MultiMatch, "
257-
+ "passed as <<esql-function-named-params,function named parameters>>.{applies_to}`stack: ga 9.1.0`\"\n"
260+
+ "passed as <<esql-function-named-params,function named parameters>>.\"\n"
258261
+ " See <<query-dsl-multi-match-query,multi-match query>> for more information.",
259262
optional = true
260263
) Expression options

0 commit comments

Comments
 (0)