Skip to content

Commit 968277a

Browse files
authored
Merge branch 'main' into automated/rest-api-spec-update-main
2 parents c978080 + 37e0e6a commit 968277a

File tree

14 files changed

+1910
-384
lines changed

14 files changed

+1910
-384
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 442 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 436 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 809 additions & 204 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"Dangling type '_types:ElasticsearchUrlFormatter'",
1515
"Dangling type '_types:HttpMethod'",
1616
"Dangling type '_types:IndexMetrics'",
17-
"Dangling type '_types:LatLon'",
1817
"Dangling type '_types:LogLevel'",
1918
"Dangling type '_types:LongId'",
2019
"Dangling type '_types:Transform'",

output/typescript/types.ts

Lines changed: 91 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_doc_ids/table.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,9 @@ search-aggregations-bucket-significantterms-aggregation,https://www.elastic.co/d
680680
search-aggregations-metrics-avg-aggregation,https://www.elastic.co/docs/reference/aggregations/search-aggregations-metrics-avg-aggregation,,
681681
search-aggregations-metrics-boxplot-aggregation,https://www.elastic.co/docs/reference/aggregations/search-aggregations-metrics-boxplot-aggregation,,
682682
search-aggregations-metrics-cardinality-aggregation,https://www.elastic.co/docs/reference/aggregations/search-aggregations-metrics-cardinality-aggregation,,
683+
search-aggregations-metrics-cartesian-bounds-aggregation,https://www.elastic.co/docs/reference/aggregations/search-aggregations-metrics-cartesian-bounds-aggregation,,
684+
search-aggregations-metrics-cartesian-centroid-aggregation,https://www.elastic.co/docs/reference/aggregations/search-aggregations-metrics-cartesian-centroid-aggregation,,
685+
search-aggregations-change-point-aggregation,https://www.elastic.co/docs/reference/aggregations/search-aggregations-change-point-aggregation,,
683686
search-aggregations-metrics-extendedstats-aggregation,https://www.elastic.co/docs/reference/aggregations/search-aggregations-metrics-extendedstats-aggregation,,
684687
search-aggregations-pipeline-avg-bucket-aggregation,https://www.elastic.co/docs/reference/aggregations/search-aggregations-pipeline-avg-bucket-aggregation,,
685688
search-aggregations-pipeline-bucket-path,https://www.elastic.co/docs/reference/aggregations/pipeline#buckets-path-syntax,,

specification/_global/reindex/types.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*/
1919

2020
import {
21-
Fields,
2221
IndexName,
2322
Indices,
2423
OpType,
@@ -34,6 +33,7 @@ import { QueryContainer } from '@_types/query_dsl/abstractions'
3433
import { SlicedScroll } from '@_types/SlicedScroll'
3534
import { Sort } from '@_types/sort'
3635
import { Duration } from '@_types/Time'
36+
import { SourceConfig } from '@global/search/_types/SourceFilter'
3737
import { Dictionary } from '@spec_utils/Dictionary'
3838

3939
export class Destination {
@@ -105,7 +105,7 @@ export class Source {
105105
* Set it to a list to reindex select fields.
106106
* @server_default true
107107
* @codegen_name source_fields */
108-
_source?: Fields
108+
_source?: SourceConfig
109109
runtime_mappings?: RuntimeFields
110110
}
111111

@@ -125,13 +125,21 @@ export class RemoteSource {
125125
*/
126126
host: Host
127127
/**
128-
* The username to use for authentication with the remote host.
128+
* The username to use for authentication with the remote host (required when using basic auth).
129129
*/
130130
username?: Username
131131
/**
132-
* The password to use for authentication with the remote host.
132+
* The password to use for authentication with the remote host (required when using basic auth).
133133
*/
134134
password?: Password
135+
/**
136+
* The API key to use for authentication with the remote host (as an alternative to basic auth when the remote cluster is in Elastic Cloud).
137+
* (It is not permitted to set this and also to set an `Authorization` header via `headers`.)
138+
*
139+
* @availability stack since=9.3.0
140+
* @availability serverless
141+
*/
142+
api_key?: string
135143
/**
136144
* The remote socket read timeout.
137145
* @server_default 30s

specification/_types/Geo.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ export type GeoTile = string
9595

9696
/** A map hex cell (H3) reference */
9797
export type GeoHexCell = string
98-
99-
export class LatLon {
100-
lat: double
101-
lon: double
102-
}
103-
10498
/**
10599
* A latitude/longitude as a 2 dimensional point. It can be represented in various ways:
106100
* - as a `{lat, long}` object
@@ -128,6 +122,11 @@ export class LatLonGeoLocation {
128122
lon: double
129123
}
130124

125+
export class CartesianPoint {
126+
x: double
127+
y: double
128+
}
129+
131130
export class GeoHashLocation {
132131
geohash: GeoHash
133132
}

0 commit comments

Comments
 (0)