Skip to content

Commit

Permalink
Security
Browse files Browse the repository at this point in the history
  • Loading branch information
n1v0lg committed Mar 6, 2024
2 parents 7be6e5a + 78df37c commit 8f180be
Show file tree
Hide file tree
Showing 231 changed files with 9,225 additions and 2,966 deletions.
5 changes: 5 additions & 0 deletions docs/changelog/105660.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 105660
summary: "Text structure endpoints to determine the structure of a list of messages and of an indexed field"
area: Machine Learning
type: feature
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/105768.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 105768
summary: Add two new OGC functions ST_X and ST_Y
area: "ES|QL"
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/105791.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 105791
summary: "Bugfix: Disable eager loading `BitSetFilterCache` on Indexing Nodes"
area: Search
type: bug
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/105797.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 105797
summary: Enable retrying on 500 error response from Cohere text embedding API
area: Machine Learning
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/105847.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 105847
summary: (API+) CAT Nodes alias for shard header to match CAT Allocation
area: Stats
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/105945.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 105945
summary: "[Connector API] Fix default ordering in `SyncJob` list endpoint"
area: Application
type: bug
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/105985.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 105985
summary: Wait forever for `IndexTemplateRegistry` asset installation
area: Indices APIs
type: enhancement
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/105987.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 105987
summary: Fix `categorize_text` aggregation nested under empty buckets
area: Machine Learning
type: bug
issues:
- 105836
5 changes: 5 additions & 0 deletions docs/changelog/105994.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 105994
summary: Fix bug when nested knn pre-filter might match nested docs
area: Vector Search
type: bug
issues: []
2 changes: 1 addition & 1 deletion docs/reference/cat/nodes.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ Time spent in suggest, such as `0`.
`suggest.total`, `suto`, `suggestTotal`::
Number of suggest operations, such as `0`.

`shard_stats.total_count`, `sstc`, `shardStatsTotalCount`::
`shard_stats.total_count`, `sstc`, `shards`, `shardStatsTotalCount`::
Number of shards assigned.

`mappings.total_count`, `mtc`, `mappingsTotalCount`::
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/data-streams/lifecycle/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ each data stream and performs the following steps:
automatically tail merges the index. Data stream lifecycle executes a merge operation that only targets
the long tail of small segments instead of the whole shard. As the segments are organised
into tiers of exponential sizes, merging the long tail of small segments is only a
fraction of the cost of force mergeing to a single segment. The small segments would usually
hold the most recent data so tail mergeing will focus the merging resources on the higher-value
fraction of the cost of force merging to a single segment. The small segments would usually
hold the most recent data so tail merging will focus the merging resources on the higher-value
data that is most likely to keep being queried.
4. If <<data-streams-put-lifecycle-downsampling-example, downsampling>> is configured it will execute
all the configured downsampling rounds.
Expand Down
4 changes: 4 additions & 0 deletions docs/reference/esql/esql-functions-operators.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ include::functions/string-functions.asciidoc[tag=string_list]
<<esql-date-time-functions>>::
include::functions/date-time-functions.asciidoc[tag=date_list]

<<esql-spatial-functions>>::
include::functions/spatial-functions.asciidoc[tag=spatial_list]

<<esql-type-conversion-functions>>::
include::functions/type-conversion-functions.asciidoc[tag=type_list]

Expand All @@ -37,6 +40,7 @@ include::functions/aggregation-functions.asciidoc[]
include::functions/math-functions.asciidoc[]
include::functions/string-functions.asciidoc[]
include::functions/date-time-functions.asciidoc[]
include::functions/spatial-functions.asciidoc[]
include::functions/type-conversion-functions.asciidoc[]
include::functions/conditional-functions-and-expressions.asciidoc[]
include::functions/mv-functions.asciidoc[]
Expand Down
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/st_x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/st_y.svg
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_geopoint.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_geoshape.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions docs/reference/esql/functions/spatial-functions.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[[esql-spatial-functions]]
==== {esql} spatial functions

++++
<titleabbrev>Spatial functions</titleabbrev>
++++

{esql} supports these spatial functions:

// tag::spatial_list[]
* <<esql-st_x>>
* <<esql-st_y>>
// end::spatial_list[]

include::st_x.asciidoc[]
include::st_y.asciidoc[]
7 changes: 6 additions & 1 deletion docs/reference/esql/functions/st_centroid.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ include::{esql-specs}/spatial.csv-spec[tag=st_centroid-airports-result]

Supported types:

include::types/st_centroid.asciidoc[]
[%header.monospaced.styled,format=dsv,separator=|]
|===
v | result
geo_point | geo_point
cartesian_point | cartesian_point
|===
33 changes: 33 additions & 0 deletions docs/reference/esql/functions/st_x.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[discrete]
[[esql-st_x]]
=== `ST_X`

*Syntax*

[.text-center]
image::esql/functions/signature/st_x.svg[Embedded,opts=inline]

*Parameters*

`point`::
Expression of type `geo_point` or `cartesian_point`. If `null`, the function returns `null`.

*Description*

Extracts the `x` coordinate from the supplied point.
If the points is of type `geo_point` this is equivalent to extracting the `longitude` value.

*Supported types*

include::types/st_x.asciidoc[]

*Example*

[source.merge.styled,esql]
----
include::{esql-specs}/spatial.csv-spec[tag=st_x_y]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/spatial.csv-spec[tag=st_x_y-result]
|===
33 changes: 33 additions & 0 deletions docs/reference/esql/functions/st_y.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[discrete]
[[esql-st_y]]
=== `ST_Y`

*Syntax*

[.text-center]
image::esql/functions/signature/st_y.svg[Embedded,opts=inline]

*Parameters*

`point`::
Expression of type `geo_point` or `cartesian_point`. If `null`, the function returns `null`.

*Description*

Extracts the `y` coordinate from the supplied point.
If the points is of type `geo_point` this is equivalent to extracting the `latitude` value.

*Supported types*

include::types/st_y.asciidoc[]

*Example*

[source.merge.styled,esql]
----
include::{esql-specs}/spatial.csv-spec[tag=st_x_y]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/spatial.csv-spec[tag=st_x_y-result]
|===
6 changes: 0 additions & 6 deletions docs/reference/esql/functions/types/st_centroid.asciidoc

This file was deleted.

6 changes: 6 additions & 0 deletions docs/reference/esql/functions/types/st_x.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[%header.monospaced.styled,format=dsv,separator=|]
|===
point | result
cartesian_point | double
geo_point | double
|===
6 changes: 6 additions & 0 deletions docs/reference/esql/functions/types/st_y.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[%header.monospaced.styled,format=dsv,separator=|]
|===
point | result
cartesian_point | double
geo_point | double
|===
1 change: 1 addition & 0 deletions docs/reference/ml/anomaly-detection/apis/put-job.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -537,3 +537,4 @@ The API returns the following results:
// TESTRESPONSE[s/"job_version" : "8.4.0"/"job_version" : $body.job_version/]
// TESTRESPONSE[s/1656087283340/$body.$_path/]
// TESTRESPONSE[s/"superuser"/"_es_test_root"/]
// TESTRESPONSE[s/"ignore_throttled" : true/"ignore_throttled" : true,"failure_store":"false"/]
Loading

0 comments on commit 8f180be

Please sign in to comment.