Skip to content

Commit 9fdcd3a

Browse files
committed
update roundto, matchphrase lifecycles
1 parent 344afcd commit 9fdcd3a

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

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

Lines changed: 1 addition & 2 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/round_to.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/match_phrase.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.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ public class MatchPhrase extends FullTextFunction implements OptionalArgument, P
9292

9393
@FunctionInfo(
9494
returnType = "boolean",
95-
preview = true,
9695
description = """
9796
Use `MATCH_PHRASE` to perform a [`match_phrase`](/reference/query-languages/query-dsl/query-dsl-match-query-phrase.md) on the
9897
specified field.
@@ -107,7 +106,7 @@ public class MatchPhrase extends FullTextFunction implements OptionalArgument, P
107106
108107
`MATCH_PHRASE` returns true if the provided query matches the row.""",
109108
examples = { @Example(file = "match-phrase-function", tag = "match-phrase-with-field") },
110-
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.1.0"), }
109+
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.1.0"), }
111110
)
112111
public MatchPhrase(
113112
Source source,

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/math/RoundTo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class RoundTo extends EsqlScalarFunction {
5757
description = """
5858
Rounds down to one of a list of fixed points.""",
5959
examples = @Example(file = "math", tag = "round_to"),
60-
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.COMING) }
60+
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.1.0") }
6161
)
6262
public RoundTo(
6363
Source source,

0 commit comments

Comments
 (0)