Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-commands.html
---

# SQL Commands [sql-commands]
# SQL commands [sql-commands]

This section contains the list of SQL commands supported by Elasticsearch SQL along with their syntax:

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-data-types.html
---

# Data Types [sql-data-types]
# Data types [sql-data-types]

**Core types**

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/query-languages/sql/sql-functions-aggs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-aggs.html
---

# Aggregate Functions [sql-functions-aggs]
# Aggregate functions [sql-functions-aggs]

Functions for computing a *single* result from a set of input values. Elasticsearch SQL supports aggregate functions only alongside [grouping](/reference/query-languages/sql/sql-syntax-select.md#sql-syntax-group-by) (implicit or explicit).


## General Purpose [sql-functions-aggs-general]
## General purpose [sql-functions-aggs-general]

## `AVG` [sql-functions-aggs-avg]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-conditional.html
---

# Conditional Functions And Expressions [sql-functions-conditional]
# Conditional functions and expressions [sql-functions-conditional]

Functions that return one of their arguments by evaluating in an if-else manner.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-datetime.html
---

# Date/Time and Interval Functions and Operators [sql-functions-datetime]
# Date/time and interval functions and operators [sql-functions-datetime]

Elasticsearch SQL offers a wide range of facilities for performing date/time manipulations.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-functions-geo.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-geo.html
---

# Geo Functions [sql-functions-geo]
# Geo functions [sql-functions-geo]

::::{warning}
This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-grouping.html
---

# Grouping Functions [sql-functions-grouping]
# Grouping functions [sql-functions-grouping]

Functions for creating special *grouping*s (also known as *bucketing*); as such these need to be used as part of the [grouping](/reference/query-languages/sql/sql-syntax-select.md#sql-syntax-group-by).

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-functions-math.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-math.html
---

# Mathematical Functions [sql-functions-math]
# Mathematical functions [sql-functions-math]

All math and trigonometric functions require their input (where applicable) to be numeric.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-functions-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-search.html
---

# Full-Text Search Functions [sql-functions-search]
# Full-text search functions [sql-functions-search]

Search functions should be used when performing full-text search, namely when the `MATCH` or `QUERY` predicates are being used. Outside a, so-called, search context, these functions will return default values such as `0` or `NULL`.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-functions-string.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-string.html
---

# String Functions [sql-functions-string]
# String functions [sql-functions-string]

Functions for performing string manipulation.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-functions-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-system.html
---

# System Functions [sql-functions-system]
# System functions [sql-functions-system]

These functions return metadata type of information about the system being queried.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions-type-conversion.html
---

# Type Conversion Functions [sql-functions-type-conversion]
# Type conversion functions [sql-functions-type-conversion]

Functions for converting an expression of one data type to another.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-functions.html
---

# Functions and Operators [sql-functions]
# Functions and operators [sql-functions]

Elasticsearch SQL provides a comprehensive set of built-in operators and functions:

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/query-languages/sql/sql-index-frozen.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-index-frozen.html
---

# Frozen Indices [sql-index-frozen]
# Frozen indices [sql-index-frozen]

By default, Elasticsearch SQL doesnt search [frozen indices](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-unfreeze). To search frozen indices, use one of the following features:
By default, Elasticsearch SQL doesn't search frozen indices. To search frozen indices, use one of the following features:

dedicated configuration parameter
: Set to `true` properties `index_include_frozen` in the [SQL search API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-sql-query) or `index.include.frozen` in the drivers to include frozen indices.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-lexical-structure.html
---

# Lexical Structure [sql-lexical-structure]
# Lexical structure [sql-lexical-structure]

This section covers the major lexical structure of SQL, which for the most part, is going to resemble that of ANSI SQL itself hence why low-levels details are not discussed in depth.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-like-rlike-operators.html
---

# LIKE and RLIKE Operators [sql-like-rlike-operators]
# LIKE and RLIKE operators [sql-like-rlike-operators]

`LIKE` and `RLIKE` operators are commonly used to filter data based on string patterns. They usually act on a field placed on the left-hand side of the operator, but can also act on a constant (literal) expression. The right-hand side of the operator represents the pattern. Both can be used in the `WHERE` clause of the `SELECT` statement, but `LIKE` can also be used in other places, such as defining an [index pattern](/reference/query-languages/sql/sql-index-patterns.md) or across various [SHOW commands](/reference/query-languages/sql/sql-commands.md). This section covers only the `SELECT ... WHERE ...` usage.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-limitations.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SQL Limitations [sql-limitations]
# SQL limitations [sql-limitations]


## Large queries may throw `ParsingException` [large-parsing-trees]
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-operators-cast.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-operators-cast.html
---

# Cast Operators [sql-operators-cast]
# Cast operators [sql-operators-cast]

## `Cast (::)` [sql-operators-cast-cast]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-operators-logical.html
---

# Logical Operators [sql-operators-logical]
# Logical operators [sql-operators-logical]

Boolean operator for evaluating one or two expressions.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-operators-math.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-operators-math.html
---

# Math Operators [sql-operators-math]
# Math operators [sql-operators-math]

Perform mathematical operations affecting one or two values. The result is a value of numeric type.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/query-languages/sql/sql-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-operators.html
---

# Comparison Operators [sql-operators]
# Comparison operators [sql-operators]

Boolean operator for comparing against one or multiple expressions.

Expand Down
10 changes: 5 additions & 5 deletions docs/reference/query-languages/sql/sql-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ mapped_pages:
- https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-spec.html
---

# SQL Language [sql-spec]
# SQL language [sql-spec]

This chapter describes the SQL syntax and semantics supported namely:
This section describes the SQL syntax and semantics supported namely:

[Lexical Structure](/reference/query-languages/sql/sql-lexical-structure.md)
[Lexical structure](/reference/query-languages/sql/sql-lexical-structure.md)
: Lexical structure

[SQL Commands](/reference/query-languages/sql/sql-commands.md)
[SQL commands](/reference/query-languages/sql/sql-commands.md)
: Commands

[Data Types](/reference/query-languages/sql/sql-data-types.md)
[Data types](/reference/query-languages/sql/sql-data-types.md)
: Data types

[Index patterns](/reference/query-languages/sql/sql-index-patterns.md)
Expand Down
Loading