Skip to content

Commit acc5581

Browse files
committed
fix match named params info
1 parent 9fdcd3a commit acc5581

File tree

4 files changed

+5
-10
lines changed
  • docs/reference/query-languages/esql/_snippets/functions
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext

4 files changed

+5
-10
lines changed

docs/reference/query-languages/esql/_snippets/functions/description/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/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/parameters/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.

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,15 @@ public class Match extends FullTextFunction implements OptionalArgument, PostAna
147147
When Match is used on a <<semantic-text, semantic_text>> field, it will perform a semantic query on the field.
148148
149149
Match can use <<esql-function-named-params,function named parameters>> to specify additional options
150-
for the match query. {applies_to}`stack: ga 9.1.0`
150+
for the match query.
151151
All <<match-field-params,match query parameters>> are supported.
152152
153153
For a simplified syntax, you can use the <<esql-match-operator,match operator>> `:` operator instead of `MATCH`.
154154
155155
`MATCH` returns true if the provided query matches the row.""",
156156
examples = {
157157
@Example(file = "match-function", tag = "match-with-field"),
158-
@Example(file = "match-function", tag = "match-with-named-function-params", applies_to = "stack: ga 9.1.0") }
158+
@Example(file = "match-function", tag = "match-with-named-function-params") }
159159
)
160160
public Match(
161161
Source source,
@@ -171,8 +171,7 @@ public Match(
171171
) Expression matchQuery,
172172
@MapParam(
173173
name = "options",
174-
description = "(Optional) Match additional options as <<esql-function-named-params,function named parameters>>. "
175-
+ "{applies_to}`stack: ga 9.1.0`",
174+
description = "(Optional) Match additional options as <<esql-function-named-params,function named parameters>>.",
176175
params = {
177176
@MapParam.MapParamEntry(
178177
name = "analyzer",

0 commit comments

Comments
 (0)