elasticsearch/docs/reference/esql/functions/layout/categorize.asciidoc
Tommaso Teofili af84c6142e
Backport Term query for ES|QL to 8.x (#117359) (#118135)
* Term query for ES|QL (#117359)

This commit adds a `term` function for ES|QL to run `TermQueries`.

For example:
FROM test | WHERE term(content, "dog")

(cherry picked from commit 91605860ee)

* Update docs/changelog/118135.yaml
2024-12-06 11:40:38 +01:00

17 lines
721 B
Text
Generated

// This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
[discrete]
[[esql-categorize]]
=== `CATEGORIZE`
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."]
*Syntax*
[.text-center]
image::esql/functions/signature/categorize.svg[Embedded,opts=inline]
include::../parameters/categorize.asciidoc[]
include::../description/categorize.asciidoc[]
include::../types/categorize.asciidoc[]
include::../examples/categorize.asciidoc[]