elasticsearch/docs/reference/esql/functions
2025-04-11 16:01:54 +02:00
..
appendix ESQL: Add COUNT and COUNT_DISTINCT aggregation tests (#111409) 2024-07-30 03:07:15 +10:00
description ESQL - Add Match function options (#120360) (#120992) 2025-01-28 21:36:26 +11:00
examples ESQL - Add Match function options (#120360) (#120992) 2025-01-28 21:36:26 +11:00
functionNamedParams ES|QL: Add default values for match function options (#125282) (#125411) 2025-03-22 03:01:14 +11:00
kibana ES|QL: Add default values for match function options (#125282) (#125411) 2025-03-22 03:01:14 +11:00
layout ES|QL: fix docs for functions in PREVIEW (#123880) (#124078) 2025-03-05 22:49:22 +11:00
parameters ES|QL: fix docs for functions in PREVIEW (#123880) (#124078) 2025-03-05 22:49:22 +11:00
signature ESQL - Add Match function options (#120360) (#120992) 2025-01-28 21:36:26 +11:00
types [8.x] Esql - Support date nanos in date extract function (#120727) (#120908) 2025-01-29 00:23:44 +11:00
aggregation-functions.asciidoc ESQL: Support ST_EXTENT_AGG (#117451) (#118829) 2024-12-17 23:14:03 +11:00
binary.asciidoc [ES|QL][DOCS] Add docs for date_period and time_duration (#116368) (#117021) 2024-11-20 00:14:46 +11:00
cast.asciidoc ESQL: Document the cast operator (::) (#107871) 2024-04-25 10:10:59 -04:00
conditional-functions-and-expressions.asciidoc [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 2024-05-10 14:49:25 -04:00
date-time-functions.asciidoc ES|QL: Add unit tests for now() function (#108498) 2024-05-10 14:28:19 +02:00
grouping-functions.asciidoc [DOCS] 8.x mention categorize license requirement (#126670) 2025-04-11 16:01:54 +02:00
in.asciidoc [DOCS] Examples for ES|QL DISSECT and WHERE (#102591) 2023-11-27 10:56:48 +01:00
ip-functions.asciidoc ESQL: Add aggregations testing base and docs (#110042) 2024-06-27 21:21:55 +10:00
like.asciidoc ES|QL: improve docs about escaping for GROK, DISSECT, LIKE, RLIKE (#115320) (#115493) 2024-10-24 19:14:57 +11:00
logical.asciidoc Restructure ES|QL docs (#100806) 2023-10-17 17:36:14 +02:00
math-functions.asciidoc [ES|QL] Add hypot function (#114382) (#114658) 2024-10-12 07:45:43 +11:00
mv-functions.asciidoc ESQL: Add docs for MV_PERCENTILE (#117377) (#117381) 2024-11-23 07:06:31 +11:00
operators.asciidoc ESQL - match operator included in non-snapshot builds (#116819) (#117224) 2024-11-21 09:20:55 +01:00
predicates.asciidoc [DOCS] Examples for ES|QL DISSECT and WHERE (#102591) 2023-11-27 10:56:48 +01:00
README.md ESQL: Generate kibana inline docs (#106782) 2024-04-09 14:19:48 -04:00
rlike.asciidoc ES|QL: improve docs about escaping for GROK, DISSECT, LIKE, RLIKE (#115320) (#115493) 2024-10-24 19:14:57 +11:00
search-functions.asciidoc [8.x] [ES|QL] Enable KQL function as a tech preview (#119730) (#119954) 2025-01-11 03:35:35 +11:00
search.asciidoc Match, Like and RLike operators improved docs (#120504) (#120769) 2025-01-24 19:09:38 +11:00
spatial-functions.asciidoc [8.x] Support ST_ENVELOPE and related ST_XMIN, etc. (#116964) (#118743) 2024-12-16 21:53:39 +11:00
string-functions.asciidoc Hash functions (#118938) (#119769) 2025-01-09 19:39:51 +11:00
type-conversion-functions.asciidoc [8.x] ESQL - docs for to_date_nanos (#120124) (#120203) 2025-01-22 05:08:55 +11:00
unary.asciidoc ESQL: Add type tables for operators to docs (#103206) 2023-12-11 10:51:38 -05:00

The files in these subdirectories are generated by ESQL's test suite:

  • description - description of each function scraped from @FunctionInfo#description
  • examples - examples of each function scraped from @FunctionInfo#examples
  • parameters - description of each function's parameters scraped from @Param
  • signature - railroad diagram of the syntax to invoke each function
  • types - a table of each combination of support type for each parameter. These are generated from tests.
  • layout - a fully generated description for each function
  • kibana/definition - function definitions for kibana's ESQL editor
  • kibana/docs - the inline docs for kibana

Most functions can use the generated docs generated in the layout directory. If we need something more custom for the function we can make a file in this directory that can include:: any parts of the files above.

To regenerate the files for a function run its tests using gradle:

./gradlew :x-pack:plugin:esql:test -Dtests.class='*SinTests'

To regenerate the files for all functions run all of ESQL's tests using gradle:

./gradlew :x-pack:plugin:esql:test