forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'elastic:main' into main
- Loading branch information
Showing
569 changed files
with
7,448 additions
and
1,986 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"notice": "This file is not maintained outside of the main branch and should only be used for tooling.", | ||
"branches": [ | ||
{ | ||
"branch": "main" | ||
}, | ||
{ | ||
"branch": "8.10" | ||
}, | ||
{ | ||
"branch": "8.9" | ||
}, | ||
{ | ||
"branch": "7.17" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 98470 | ||
summary: Reduce verbosity of the bulk indexing audit log | ||
area: Audit | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 98528 | ||
summary: "ESQL: Add support for TEXT fields in comparison operators and SORT" | ||
area: ES|QL | ||
type: enhancement | ||
issues: | ||
- 98642 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 98870 | ||
summary: "ESQL: Add ability to perform date math" | ||
area: ES|QL | ||
type: enhancement | ||
issues: | ||
- 98402 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 98944 | ||
summary: Auto-normalize `dot_product` vectors at index & query | ||
area: Vector Search | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 98961 | ||
summary: Fix NPE when `GetUser` with profile uid before profile index exists | ||
area: Security | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 98987 | ||
summary: EQL and ESQL to use only the necessary fields in the internal `field_caps` | ||
calls | ||
area: EQL | ||
type: enhancement | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
arg1 | arg2 | result | ||
keyword | integer | keyword | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[[esql-metadata-fields]] | ||
== {esql} metadata fields | ||
|
||
++++ | ||
<titleabbrev>Metadata fields</titleabbrev> | ||
++++ | ||
|
||
{esql} can access <<mapping-fields, metadata fields>>. The currently | ||
supported ones are: | ||
|
||
* <<mapping-index-field,`_index`>>: the index to which the document belongs. | ||
The field is of the type <<keyword, keyword>>. | ||
|
||
* <<mapping-id-field,`_id`>>: the source document's ID. The field is of the | ||
type <<keyword, keyword>>. | ||
|
||
* `_version`: the source document's version. The field is of the type | ||
<<number,long>>. | ||
|
||
To enable the access to these fields, the <<esql-from,`FROM`>> source command needs | ||
to be provided with a dedicated directive: | ||
|
||
[source,esql] | ||
---- | ||
FROM index [METADATA _index, _id] | ||
---- | ||
|
||
Metadata fields are only available if the source of the data is an index. | ||
Consequently, `FROM` is the only source commands that supports the `METADATA` | ||
directive. | ||
|
||
Once enabled, the fields are then available to subsequent processing commands, just | ||
like the other index fields: | ||
|
||
[source.merge.styled,esql] | ||
---- | ||
include::{esql-specs}/metadata-ignoreCsvTests.csv-spec[tag=multipleIndices] | ||
---- | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
include::{esql-specs}/metadata-ignoreCsvTests.csv-spec[tag=multipleIndices-result] | ||
|=== | ||
|
||
Also, similar to the index fields, once an aggregation is performed, a | ||
metadata field will no longer be accessible to subsequent commands, unless | ||
used as grouping field: | ||
|
||
[source.merge.styled,esql] | ||
---- | ||
include::{esql-specs}/metadata-ignoreCsvTests.csv-spec[tag=metaIndexInAggs] | ||
---- | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
include::{esql-specs}/metadata-ignoreCsvTests.csv-spec[tag=metaIndexInAggs-result] | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.