Skip to content

Commit ef62b03

Browse files
committed
revert GAing full-text functions, to come in followup
1 parent b400aef commit ef62b03

File tree

13 files changed

+54
-46
lines changed

13 files changed

+54
-46
lines changed

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

Lines changed: 2 additions & 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/layout/match.md

Lines changed: 2 additions & 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/layout/match_phrase.md

Lines changed: 2 additions & 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/layout/qstr.md

Lines changed: 2 additions & 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.json

Lines changed: 30 additions & 30 deletions
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.

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/limitations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ In addition, when [querying multiple indexes](docs-content://explore-analyze/que
105105

106106
## Full-text search [esql-limitations-full-text-search]
107107

108+
[preview] {{esql}}'s support for [full-text search](/reference/query-languages/esql/functions-operators/search-functions.md) is currently in Technical Preview.
108109
One limitation of full-text search is that it is necessary to use the search function,
109110
like [`MATCH`](/reference/query-languages/esql/functions-operators/search-functions.md#esql-match),
110111
in a [`WHERE`](/reference/query-languages/esql/commands/processing-commands.md#esql-where) command directly after the

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public class Kql extends FullTextFunction {
3737

3838
@FunctionInfo(
3939
returnType = "boolean",
40-
appliesTo = {
41-
@FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.0.0"),
42-
@FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.1.0") },
40+
preview = true,
41+
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.0.0") },
42+
// @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.1.0") },
4343
description = "Performs a KQL query. Returns true if the provided KQL query string matches the row.",
4444
examples = { @Example(file = "kql-function", tag = "kql-with-field") }
4545
)

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ public class Match extends FullTextFunction implements OptionalArgument, PostAna
135135

136136
@FunctionInfo(
137137
returnType = "boolean",
138-
appliesTo = {
139-
@FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.0.0"),
140-
@FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.1.0") },
138+
preview = true,
139+
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.0.0") },
140+
// @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.1.0") },
141141
description = """
142142
Use `MATCH` to perform a <<query-dsl-match-query,match query>> on the specified field.
143143
Using `MATCH` is equivalent to using the `match` query in the Elasticsearch Query DSL.""",

0 commit comments

Comments
 (0)