elasticsearch/docs/reference/esql/functions/description/reverse.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

9 lines
557 B
Text
Generated

// This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
*Description*
Returns a new string representing the input string in reverse order.
NOTE: If Elasticsearch is running with a JDK version less than 20 then this will not properly reverse Grapheme Clusters.
Elastic Cloud and the JDK bundled with Elasticsearch all use newer JDKs. But if you've explicitly shifted to an older jdk
then you'll see things like "👍🏽😊" be reversed to "🏽👍😊" instead of the correct "😊👍🏽".