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
10 changes: 10 additions & 0 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
},
"async_search.submit": {
"request": [
"Request: query parameter 'keep_alive' does not exist in the json spec",
"interface definition _types:QueryVectorBuilder - Property text_embedding is a single-variant and must be required"
],
"response": []
Expand Down
1 change: 1 addition & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions specification/_json_spec/async_search.submit.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
"description": "Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false)",
"default": false
},
"keep_alive": {
"type": "time",
"description": "Update the time interval in which the results (partial or final) for this search will be available",
"default": "5d"
},
"batched_reduce_size": {
"type": "number",
"description": "The number of shard results that should be reduced at once on the coordinating node. This value should be used as the granularity at which progress results will be made available.",
Expand Down
2 changes: 1 addition & 1 deletion specification/_json_spec/enrich.get_policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"params": {
"master_timeout": {
"type": "time",
"description": "Timeout for processing on master node"
"description": "Timeout for waiting for new cluster state in case it is blocked"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion specification/_json_spec/enrich.stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"params": {
"master_timeout": {
"type": "time",
"description": "Timeout for processing on master node"
"description": "Timeout for waiting for new cluster state in case it is blocked"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion specification/_json_spec/eql.search.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"allow_partial_search_results": {
"type": "boolean",
"description": "Control whether the query should keep running in case of shard failures, and return partial results",
"default": false
"default": true
},
"allow_partial_sequence_results": {
"type": "boolean",
Expand Down
4 changes: 4 additions & 0 deletions specification/_json_spec/ilm.migrate_to_data_tiers.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
]
},
"params": {
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"dry_run": {
"type": "boolean",
"description": "If set to true it will simulate the migration, providing a way to retrieve the ILM policies and indices that need to be migrated. The default is false"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"indices.cancel_migrate_reindex": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex-cancel-api.html",
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
},
"stability": "experimental",
Expand Down
2 changes: 1 addition & 1 deletion specification/_json_spec/indices.create_from.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"indices.create_from": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index-from-source.html",
"description": "This API creates a destination from a source index. It copies the mappings and settings from the source index while allowing request settings and mappings to override the source values."
},
"stability": "experimental",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"indices.get_migrate_reindex_status": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex-status-api.html",
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
},
"stability": "experimental",
Expand Down
2 changes: 1 addition & 1 deletion specification/_json_spec/indices.migrate_reindex.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"indices.migrate_reindex": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex-api.html",
"description": "This API reindexes all legacy backing indices for a data stream. It does this in a persistent task. The persistent task id is returned immediately, and the reindexing work is completed in that task"
},
"stability": "experimental",
Expand Down
2 changes: 1 addition & 1 deletion specification/eql/search/EqlSearchRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export interface Request extends RequestBase {
allow_no_indices?: boolean
/**
* If true, returns partial results if there are shard failures. If false, returns an error with no partial results.
* @server_default false
* @server_default true
*/
allow_partial_search_results?: boolean
/**
Expand Down
8 changes: 8 additions & 0 deletions specification/ilm/migrate_to_data_tiers/Request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

import { RequestBase } from '@_types/Base'
import { Duration } from '@_types/Time'

/**
* Migrate to data tiers routing.
Expand Down Expand Up @@ -53,6 +54,13 @@ export interface Request extends RequestBase {
* @server_default false
*/
dry_run?: boolean
/**
* The period to wait for a connection to the master node.
* If no response is received before the timeout expires, the request fails and returns an error.
* It can also be set to `-1` to indicate that the request should never timeout.
* @server_default 30s
*/
master_timeout?: Duration
}
body: {
legacy_template_to_delete?: string
Expand Down