Iván Cea Fontenla 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
..
appendix 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
description 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
examples 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
kibana 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
layout 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
parameters 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
signature 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
types 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
README.md 96227a1970 ESQL: Generate kibana inline docs (#106782) 1 年之前
aggregation-functions.asciidoc 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
binary.asciidoc 6fbc52d170 ESQL docs: Push down needs index and doc_values (#110353) 1 年之前
case.asciidoc 8e0d4e1846 [DOCS] Improve ES|QL functions reference for functions A-D (#103447) 1 年之前
cast.asciidoc 7af45cc52e ESQL: Document the cast operator (::) (#107871) 1 年之前
conditional-functions-and-expressions.asciidoc 11de886346 [ES|QL] Add/Modify annotations for spatial and conditional functions for better doc generation (#107722) 1 年之前
count-distinct.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 年之前
count.asciidoc 9f001169c6 ESQL: Document the pattern to count TRUE (#110820) 1 年之前
date-time-functions.asciidoc fed808850d ES|QL: Add unit tests for now() function (#108498) 1 年之前
grouping-functions.asciidoc a21242054b ESQL: Document BUCKET as a grouping function (#107864) 1 年之前
in.asciidoc bc59315baa [DOCS] Examples for ES|QL DISSECT and WHERE (#102591) 1 年之前
ip-functions.asciidoc fc0313f429 ESQL: Add aggregations testing base and docs (#110042) 1 年之前
like.asciidoc 4daac77e3b [ES|QL] Add/Modify annotations for operators for better doc generation (#108220) 1 年之前
logical.asciidoc 8ac4ba751e Restructure ES|QL docs (#100806) 2 年之前
math-functions.asciidoc 453b82706d Add the EXP ES|QL function (#110879) 1 年之前
median-absolute-deviation.asciidoc 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
median.asciidoc 0e68117935 Added Percentile aggregation tests and Kibana docs (#111050) 1 年之前
mv-functions.asciidoc 47edae4fbd ES|QL: reduce memory footprint for MvAppendTests with shapes (#109517) 1 年之前
operators.asciidoc b26d7d3e14 Introduce an IP functions group (#108304) 1 年之前
predicates.asciidoc bc59315baa [DOCS] Examples for ES|QL DISSECT and WHERE (#102591) 1 年之前
rlike.asciidoc 4daac77e3b [ES|QL] Add/Modify annotations for operators for better doc generation (#108220) 1 年之前
round.asciidoc 1541da5e65 ESQL: Generate more docs (#106367) 1 年之前
spatial-functions.asciidoc 536d614694 ES|QL ST_DISTANCE Function (#108764) 1 年之前
st_centroid_agg.asciidoc d915b964ba Rename ST_CENTROID to ST_CENTROID_AGG (#107226) 1 年之前
string-functions.asciidoc bb3ff8e924 ESQL: add REPEAT string function (#109220) 1 年之前
sum.asciidoc 980bc500b0 [DOCS] Support for nested functions in ES|QL STATS...BY (#104788) 1 年之前
type-conversion-functions.asciidoc 172c05918c [DOCS] ES|QL implicit casting (#108618) 1 年之前
unary.asciidoc 3b738905e1 ESQL: Add type tables for operators to docs (#103206) 1 年之前
values.asciidoc c74490c137 ESQL: Enable VALUES agg for datetime (#107016) 1 年之前
weighted-avg.asciidoc 8abc8857f2 [ES|QL] weighted_avg (#109993) 1 年之前

README.md

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