ソースを参照

Change ESQL into ES|QL

Abdon Pijpelink 2 年 前
コミット
f4581bb4bd

+ 3 - 3
docs/reference/esql/aggregation-functions.asciidoc

@@ -1,11 +1,11 @@
 [[esql-agg-functions]]
-== ESQL aggregation functions
+== {esql} aggregation functions
 
 ++++
 <titleabbrev>Aggregation functions</titleabbrev>
 ++++
-:keywords: {es}, ESQL, {es} query language, functions
-:description: ESQL supports various functions for calculating values.
+:keywords: {es}, {esql}, {es} query language, functions
+:description: {esql} supports various functions for calculating values.
 
 <<esql-stats-by>> support these functions:
 

+ 3 - 3
docs/reference/esql/esql-functions.asciidoc

@@ -1,11 +1,11 @@
 [[esql-functions]]
-== ESQL functions
+== {esql} functions
 
 ++++
 <titleabbrev>Functions</titleabbrev>
 ++++
-:keywords: {es}, ESQL, {es} query language, functions
-:description: ESQL supports various functions for calculating values.
+:keywords: {es}, {esql}, {es} query language, functions
+:description: {esql} supports various functions for calculating values.
 
 <<esql-row,`ROW`>>, <<esql-eval,`EVAL`>> and <<esql-where,`WHERE`>> support
 these functions:

+ 5 - 5
docs/reference/esql/esql-processing-commands.asciidoc

@@ -1,18 +1,18 @@
 [[esql-processing-commands]]
-== ESQL processing commands
+== {esql} processing commands
 
 ++++
 <titleabbrev>Processing commands</titleabbrev>
 ++++
-:keywords: {es}, ESQL, {es} query language, processing commands
-:description: ESQL processing commands change an input table by adding, removing, or changing rows and columns.
+:keywords: {es}, {esql}, {es} query language, processing commands
+:description: {esql} processing commands change an input table by adding, removing, or changing rows and columns.
 
-ESQL processing commands change an input table by adding, removing, or changing
+{esql} processing commands change an input table by adding, removing, or changing
 rows and columns.
 
 image::images/esql/processing-command.svg[A processing command changing an input table,align="center"]
 
-ESQL supports these processing commands:
+{esql} supports these processing commands:
 
 * <<esql-dissect>>
 * <<esql-drop>>

+ 5 - 5
docs/reference/esql/esql-source-commands.asciidoc

@@ -1,17 +1,17 @@
 [[esql-source-commands]]
-== ESQL source commands
+== {esql} source commands
 
 ++++
 <titleabbrev>Source commands</titleabbrev>
 ++++
-:keywords: {es}, ESQL, {es} query language, source commands
-:description: An ESQL source command produces a table, typically with data from {es}.
+:keywords: {es}, {esql}, {es} query language, source commands
+:description: An {esql} source command produces a table, typically with data from {es}.
 
-An ESQL source command produces a table, typically with data from {es}.
+An {esql} source command produces a table, typically with data from {es}.
 
 image::images/esql/source-command.svg[A source command producing a table from {es},align="center"]
 
-ESQL supports these source commands:
+{esql} supports these source commands:
 
 * <<esql-from>>
 * <<esql-row>>

+ 6 - 6
docs/reference/esql/esql-syntax.asciidoc

@@ -1,17 +1,17 @@
 [[esql-syntax]]
-== ESQL syntax reference
+== {esql} syntax reference
 
 ++++
 <titleabbrev>Syntax reference</titleabbrev>
 ++++
-:keywords: {es}, ESQL, {es} query language, syntax
-:description: An ESQL query is composed of a source command followed by an optional series of processing commands, separated by a pipe character.
+:keywords: {es}, {esql}, {es} query language, syntax
+:description: An {esql} query is composed of a source command followed by an optional series of processing commands, separated by a pipe character.
 
 [discrete]
 [[esql-basic-syntax]]
 === Basic syntax
 
-An ESQL query is composed of a <<esql-source-commands,source command>> followed
+An {esql} query is composed of a <<esql-source-commands,source command>> followed
 by an optional series of <<esql-processing-commands,processing commands>>,
 separated by a pipe character: `|`. For example:
 
@@ -25,7 +25,7 @@ source-command
 The result of a query is the table produced by the final processing command.
 
 For readability, this documentation puts each processing command on a new line.
-However, you can write an ESQL query as a single line. The following query is
+However, you can write an {esql} query as a single line. The following query is
 identical to the previous one:
 
 [source,esql]
@@ -36,7 +36,7 @@ source-command | processing-command1 | processing-command2
 [discrete]
 [[esql-comments]]
 === Comments
-ESQL uses C++ style comments:
+{esql} uses C++ style comments:
 
 * double slash `//` for single line comments
 * `/*` and `*/` for block comments

+ 12 - 12
docs/reference/esql/index.asciidoc

@@ -1,18 +1,18 @@
 [[esql]]
-= ESQL
+= {esql}
 
-:keywords: {es}, ESQL, {es} query language
-:description: ESQL is a query language that enables the iterative exploration of data.
+:keywords: {es}, {esql}, {es} query language
+:description: {esql} is a query language that enables the iterative exploration of data.
 
 :esql-tests: {xes-repo-dir}/../../plugin/esql/qa
 :esql-specs: {esql-tests}/testFixtures/src/main/resources
 
 [partintro]
 --
-The {es} Query Language (ESQL) is a query language that enables the iterative
+The {es} Query Language ({esql}) is a query language that enables the iterative
 exploration of data.
 
-An ESQL query consists of a series of commands, separated by pipes. Each query
+An {esql} query consists of a series of commands, separated by pipes. Each query
 starts with a <<esql-source-commands,source command>>. A source command produces
 a table, typically with data from {es}.
 
@@ -33,12 +33,12 @@ The result of a query is the table produced by the final processing command.
 
 [discrete]
 [[esql-console]]
-=== Run an ESQL query
+=== Run an {esql} query
 
 [discrete]
-==== The ESQL API
+==== The {esql} API
 
-Use the `_esql` endpoint to run an ESQL query:
+Use the `_esql` endpoint to run an {esql} query:
 
 [source,console]
 ----
@@ -95,18 +95,18 @@ POST /_esql?format=txt
 [discrete]
 ==== {kib}
 
-ESQL can be used in Discover to explore a data set, and in Lens to visualize it.
+{esql} can be used in Discover to explore a data set, and in Lens to visualize it.
 First, enable the `enableTextBased` setting in *Advanced Settings*. Next, in
-Discover or Lens, from the data view dropdown, select *ESQL*.
+Discover or Lens, from the data view dropdown, select *{esql}*.
 
-NOTE: ESQL queries in Discover and Lens are subject to the time range selected
+NOTE: {esql} queries in Discover and Lens are subject to the time range selected
 with the time filter.
 
 [discrete]
 [[esql-limitations]]
 === Limitations
 
-ESQL currently supports the following <<mapping-types,field types>>:
+{esql} currently supports the following <<mapping-types,field types>>:
 
 - `alias`
 - `boolean`

+ 4 - 4
docs/reference/esql/multivalued-fields.asciidoc

@@ -1,11 +1,11 @@
 [[esql-multivalued-fields]]
-== ESQL multivalued fields
+== {esql} multivalued fields
 
 ++++
 <titleabbrev>Multivalued fields</titleabbrev>
 ++++
 
-ESQL is fine reading from multivalued fields:
+{esql} is fine reading from multivalued fields:
 
 [source,console,id=esql-multivalued-fields-reorders]
 ----
@@ -69,7 +69,7 @@ POST /_esql
 }
 ----
 
-And ESQL sees that removal:
+And {esql} sees that removal:
 
 [source,console-result]
 ----
@@ -110,7 +110,7 @@ POST /_esql
 }
 ----
 
-And ESQL also sees that:
+And {esql} also sees that:
 
 [source,console-result]
 ----