Browse Source

ES|QL: fix docs for functions in PREVIEW (#123880)

Luigi Dell'Aquila 7 months ago
parent
commit
baf071db03

+ 1 - 1
docs/reference/esql/functions/layout/categorize.asciidoc

@@ -4,7 +4,7 @@
 [[esql-categorize]]
 === `CATEGORIZE`
 
-preview::["Do not use `CATEGORIZE` on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
+preview::["Do not use on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
 
 *Syntax*
 

+ 1 - 1
docs/reference/esql/functions/layout/kql.asciidoc

@@ -4,7 +4,7 @@
 [[esql-kql]]
 === `KQL`
 
-preview::["Do not use `VALUES` on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
+preview::["Do not use on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
 
 *Syntax*
 

+ 1 - 1
docs/reference/esql/functions/layout/match.asciidoc

@@ -4,7 +4,7 @@
 [[esql-match]]
 === `MATCH`
 
-preview::["Do not use `VALUES` on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
+preview::["Do not use on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
 
 *Syntax*
 

+ 1 - 1
docs/reference/esql/functions/layout/qstr.asciidoc

@@ -4,7 +4,7 @@
 [[esql-qstr]]
 === `QSTR`
 
-preview::["Do not use `VALUES` on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
+preview::["Do not use on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
 
 *Syntax*
 

+ 1 - 1
docs/reference/esql/functions/layout/term.asciidoc

@@ -4,7 +4,7 @@
 [[esql-term]]
 === `TERM`
 
-preview::["Do not use `VALUES` on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
+preview::["Do not use on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
 
 *Syntax*
 

+ 1 - 1
docs/reference/esql/functions/layout/values.asciidoc

@@ -4,7 +4,7 @@
 [[esql-values]]
 === `VALUES`
 
-preview::["Do not use `VALUES` on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
+preview::["Do not use on production environments. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features."]
 
 *Syntax*
 

+ 1 - 1
docs/reference/esql/functions/parameters/match.asciidoc

@@ -9,4 +9,4 @@ Field that the query will target.
 Value to find in the provided field.
 
 `options`::
-Match additional options as <<esql-function-named-params,function named parameters>>. See <<query-dsl-match-query,match query>> for more information.
+(Optional) Match additional options as <<esql-function-named-params,function named parameters>>. See <<query-dsl-match-query,match query>> for more information.

+ 1 - 1
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/AbstractFunctionTestCase.java

@@ -990,7 +990,7 @@ public abstract class AbstractFunctionTestCase extends ESTestCase {
         "// This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.\n\n";
 
     private static final String PREVIEW_CALLOUT =
-        "\npreview::[\"Do not use `VALUES` on production environments. This functionality is in technical preview and "
+        "\npreview::[\"Do not use on production environments. This functionality is in technical preview and "
             + "may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview "
             + "are not subject to the support SLA of official GA features.\"]\n";