mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 02:13:33 -04:00
SQL: document the use of a filter on _routing (#52355)
* Fix "Description"s for various sections in the functions pages.
* Added a TIP for searching using a routing key.
* Other small polishings
(cherry picked from commit 9fad0b1ac4
)
This commit is contained in:
parent
bb932c8581
commit
4eea9c20ee
19 changed files with 153 additions and 354 deletions
|
@ -3,7 +3,7 @@
|
|||
[[sql-syntax-describe-table]]
|
||||
=== DESCRIBE TABLE
|
||||
|
||||
.Synopsis
|
||||
.Synopsis:
|
||||
[source, sql]
|
||||
----
|
||||
DESCRIBE
|
||||
|
@ -26,9 +26,7 @@ DESC
|
|||
<1> single table identifier or double quoted es multi index
|
||||
<2> SQL LIKE pattern
|
||||
|
||||
.Description
|
||||
|
||||
`DESC` and `DESCRIBE` are aliases to <<sql-syntax-show-columns>>.
|
||||
*Description*: `DESC` and `DESCRIBE` are aliases to <<sql-syntax-show-columns>>.
|
||||
|
||||
[source, sql]
|
||||
----
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[[sql-syntax-select]]
|
||||
=== SELECT
|
||||
|
||||
.Synopsis
|
||||
.Synopsis:
|
||||
[source, sql]
|
||||
----
|
||||
SELECT select_expr [, ...]
|
||||
|
@ -16,9 +16,7 @@ SELECT select_expr [, ...]
|
|||
[ PIVOT ( aggregation_expr FOR column IN ( value [ [ AS ] alias ] [, ...] ) ) ]
|
||||
----
|
||||
|
||||
.Description
|
||||
|
||||
Retrieves rows from zero or more tables.
|
||||
*Description*: Retrieves rows from zero or more tables.
|
||||
|
||||
The general execution of `SELECT` is as follows:
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[[sql-syntax-show-columns]]
|
||||
=== SHOW COLUMNS
|
||||
|
||||
.Synopsis
|
||||
.Synopsis:
|
||||
[source, sql]
|
||||
----
|
||||
SHOW COLUMNS [ FROM | IN ]?
|
||||
|
@ -17,9 +17,7 @@ SHOW COLUMNS [ FROM | IN ]?
|
|||
See <<sql-index-patterns, index patterns>> for more information about
|
||||
patterns.
|
||||
|
||||
.Description
|
||||
|
||||
List the columns in table and their data type (and other attributes).
|
||||
*Description*: List the columns in table and their data type (and other attributes).
|
||||
|
||||
[source, sql]
|
||||
----
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[[sql-syntax-show-functions]]
|
||||
=== SHOW FUNCTIONS
|
||||
|
||||
.Synopsis
|
||||
.Synopsis:
|
||||
[source, sql]
|
||||
----
|
||||
SHOW FUNCTIONS [LIKE pattern?]? <1>
|
||||
|
@ -11,9 +11,7 @@ SHOW FUNCTIONS [LIKE pattern?]? <1>
|
|||
|
||||
<1> SQL match pattern
|
||||
|
||||
.Description
|
||||
|
||||
List all the SQL functions and their type. The `LIKE` clause can be used to restrict the list of names to the given pattern.
|
||||
*Description*: List all the SQL functions and their type. The `LIKE` clause can be used to restrict the list of names to the given pattern.
|
||||
|
||||
[source, sql]
|
||||
----
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[[sql-syntax-show-tables]]
|
||||
=== SHOW TABLES
|
||||
|
||||
.Synopsis
|
||||
.Synopsis:
|
||||
[source, sql]
|
||||
----
|
||||
SHOW TABLES
|
||||
|
@ -20,9 +20,7 @@ See <<sql-index-patterns, index patterns>> for more information about
|
|||
patterns.
|
||||
|
||||
|
||||
.Description
|
||||
|
||||
List the tables available to the current user and their type.
|
||||
*Description*: List the tables available to the current user and their type.
|
||||
|
||||
[source, sql]
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue