elasticsearch/docs/reference/esql/functions/layout/kql.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
672 B
Text
Generated

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