Browse Source

ES|QL categorize -> GA (#129703)

Jan Kuipers 3 months ago
parent
commit
9477d092ef

+ 1 - 1
docs/reference/esql/functions/grouping-functions.asciidoc

@@ -9,7 +9,7 @@ The <<esql-stats-by>> command supports these grouping functions:
 
 // tag::group_list[]
 * <<esql-bucket>>
-* experimental:[] <<esql-categorize>> NOTE: Requires a https://www.elastic.co/subscriptions[platinum license].
+* <<esql-categorize>> NOTE: Requires a https://www.elastic.co/subscriptions[platinum license].
 // end::group_list[]
 
 include::layout/bucket.asciidoc[]

+ 1 - 1
docs/reference/esql/functions/kibana/definition/categorize.json

@@ -32,6 +32,6 @@
   "examples" : [
     "FROM sample_data\n| STATS count=COUNT() BY category=CATEGORIZE(message)"
   ],
-  "preview" : true,
+  "preview" : false,
   "snapshot_only" : false
 }

+ 0 - 2
docs/reference/esql/functions/layout/categorize.asciidoc

@@ -4,8 +4,6 @@
 [[esql-categorize]]
 === `CATEGORIZE`
 
-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*
 
 [.text-center]

+ 1 - 1
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping/Categorize.java

@@ -62,7 +62,7 @@ public class Categorize extends GroupingFunction.NonEvaluatableGroupingFunction
                 tag = "docsCategorize",
                 description = "This example categorizes server logs messages into categories and aggregates their counts. "
             ) },
-        preview = true
+        preview = false
     )
     public Categorize(
         Source source,