diff --git a/output/schema/schema.json b/output/schema/schema.json index 88fe68f37c..a560f67ce2 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -6921,6 +6921,32 @@ } ] }, + { + "availability": { + "stack": { + "featureFlag": "es.failure_store_feature_flag_enabled", + "stability": "experimental", + "visibility": "feature_flag" + } + }, + "description": "Deletes the data stream options of the selected data streams.", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", + "name": "indices.delete_data_stream_options", + "request": null, + "requestBodyRequired": false, + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "DELETE" + ], + "path": "/_data_stream/{name}/_options" + } + ] + }, { "availability": { "serverless": { @@ -7620,6 +7646,32 @@ } ] }, + { + "availability": { + "stack": { + "featureFlag": "es.failure_store_feature_flag_enabled", + "stability": "experimental", + "visibility": "feature_flag" + } + }, + "description": "Returns the data stream options of the selected data streams.", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", + "name": "indices.get_data_stream_options", + "request": null, + "requestBodyRequired": false, + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "GET" + ], + "path": "/_data_stream/{name}/_options" + } + ] + }, { "availability": { "stack": { @@ -8174,6 +8226,35 @@ } ] }, + { + "availability": { + "stack": { + "featureFlag": "es.failure_store_feature_flag_enabled", + "stability": "experimental", + "visibility": "feature_flag" + } + }, + "description": "Updates the data stream options of the selected data streams.", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", + "name": "indices.put_data_stream_options", + "request": null, + "requestBodyRequired": false, + "requestMediaType": [ + "application/json" + ], + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "PUT" + ], + "path": "/_data_stream/{name}/_options" + } + ] + }, { "availability": { "serverless": { @@ -9256,34 +9337,6 @@ } ] }, - { - "availability": { - "stack": { - "stability": "stable", - "visibility": "public" - } - }, - "description": "Perform a chat completion task via the Elastic Inference Service (EIS)", - "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html", - "name": "inference.post_eis_chat_completion", - "request": null, - "requestBodyRequired": false, - "requestMediaType": [ - "application/json" - ], - "response": null, - "responseMediaType": [ - "application/json" - ], - "urls": [ - { - "methods": [ - "POST" - ], - "path": "/_inference/chat_completion/{eis_inference_id}/_stream" - } - ] - }, { "availability": { "serverless": { diff --git a/specification/_json_spec/esql.async_query.json b/specification/_json_spec/esql.async_query.json index 566bf9075b..4a61cfe896 100644 --- a/specification/_json_spec/esql.async_query.json +++ b/specification/_json_spec/esql.async_query.json @@ -35,8 +35,8 @@ }, "allow_partial_results": { "type": "boolean", - "description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.", - "default": false + "description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.\nIf `false`, the entire query will fail if there are\nany failures.", + "default": true } }, "body": { diff --git a/specification/_json_spec/esql.query.json b/specification/_json_spec/esql.query.json index 4e1e96fd14..65591cfaaa 100644 --- a/specification/_json_spec/esql.query.json +++ b/specification/_json_spec/esql.query.json @@ -35,8 +35,8 @@ }, "allow_partial_results": { "type": "boolean", - "description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.", - "default": false + "description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.\nIf `false`, the entire query will fail if there are\nany failures.", + "default": true } }, "body": { diff --git a/specification/_json_spec/indices.delete_data_stream_options.json b/specification/_json_spec/indices.delete_data_stream_options.json new file mode 100644 index 0000000000..9bf9e1601f --- /dev/null +++ b/specification/_json_spec/indices.delete_data_stream_options.json @@ -0,0 +1,44 @@ +{ + "indices.delete_data_stream_options": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", + "description": "Deletes the data stream options of the selected data streams." + }, + "stability": "experimental", + "visibility": "feature_flag", + "feature_flag": "es.failure_store_feature_flag_enabled", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_data_stream/{name}/_options", + "methods": ["DELETE"], + "parts": { + "name": { + "type": "list", + "description": "A comma-separated list of data streams of which the data stream options will be deleted; use `*` to get all data streams" + } + } + } + ] + }, + "params": { + "expand_wildcards": { + "type": "enum", + "options": ["open", "closed", "hidden", "none", "all"], + "default": "open", + "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)" + }, + "timeout": { + "type": "time", + "description": "Explicit timestamp for the document" + }, + "master_timeout": { + "type": "time", + "description": "Specify timeout for connection to master" + } + } + } +} diff --git a/specification/_json_spec/indices.get_data_stream_options.json b/specification/_json_spec/indices.get_data_stream_options.json new file mode 100644 index 0000000000..c7ee328ef9 --- /dev/null +++ b/specification/_json_spec/indices.get_data_stream_options.json @@ -0,0 +1,44 @@ +{ + "indices.get_data_stream_options": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", + "description": "Returns the data stream options of the selected data streams." + }, + "stability": "experimental", + "visibility": "feature_flag", + "feature_flag": "es.failure_store_feature_flag_enabled", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_data_stream/{name}/_options", + "methods": ["GET"], + "parts": { + "name": { + "type": "list", + "description": "A comma-separated list of data streams to get; use `*` to get all data streams" + } + } + } + ] + }, + "params": { + "expand_wildcards": { + "type": "enum", + "options": ["open", "closed", "hidden", "none", "all"], + "default": "open", + "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)" + }, + "include_defaults": { + "type": "boolean", + "description": "Return all relevant default configurations for the data stream (default: false)" + }, + "master_timeout": { + "type": "time", + "description": "Specify timeout for connection to master" + } + } + } +} diff --git a/specification/_json_spec/indices.put_data_stream_options.json b/specification/_json_spec/indices.put_data_stream_options.json new file mode 100644 index 0000000000..7abd0da45a --- /dev/null +++ b/specification/_json_spec/indices.put_data_stream_options.json @@ -0,0 +1,48 @@ +{ + "indices.put_data_stream_options": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html", + "description": "Updates the data stream options of the selected data streams." + }, + "stability": "experimental", + "visibility": "feature_flag", + "feature_flag": "es.failure_store_feature_flag_enabled", + "headers": { + "accept": ["application/json"], + "content_type": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_data_stream/{name}/_options", + "methods": ["PUT"], + "parts": { + "name": { + "type": "list", + "description": "A comma-separated list of data streams whose options will be updated; use `*` to set the options to all data streams" + } + } + } + ] + }, + "params": { + "expand_wildcards": { + "type": "enum", + "options": ["open", "closed", "hidden", "none", "all"], + "default": "open", + "description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)" + }, + "timeout": { + "type": "time", + "description": "Explicit timestamp for the document" + }, + "master_timeout": { + "type": "time", + "description": "Specify timeout for connection to master" + } + }, + "body": { + "description": "The data stream options configuration that consist of the failure store configuration" + } + } +} diff --git a/specification/_json_spec/inference.post_eis_chat_completion.json b/specification/_json_spec/inference.post_eis_chat_completion.json deleted file mode 100644 index e34b14913b..0000000000 --- a/specification/_json_spec/inference.post_eis_chat_completion.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "inference.post_eis_chat_completion": { - "documentation": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html", - "description": "Perform a chat completion task via the Elastic Inference Service (EIS)" - }, - "stability": "stable", - "visibility": "public", - "headers": { - "accept": ["application/json"], - "content_type": ["application/json"] - }, - "url": { - "paths": [ - { - "path": "/_inference/chat_completion/{eis_inference_id}/_stream", - "methods": ["POST"], - "parts": { - "eis_inference_id": { - "type": "string", - "description": "The inference ID" - } - } - } - ] - }, - "body": { - "description": "The inference tasks settings to perform" - } - } -} diff --git a/specification/_json_spec/inference.put.eis.json b/specification/_json_spec/inference.put.eis.json deleted file mode 100644 index 281758769e..0000000000 --- a/specification/_json_spec/inference.put.eis.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "inference.put_eis": { - "documentation": { - "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-eis.html", - "description": "Configure an EIS inference endpoint" - }, - "stability": "stable", - "visibility": "public", - "headers": { - "accept": ["application/json"], - "content_type": ["application/json"] - }, - "url": { - "paths": [ - { - "path": "/_inference/{task_type}/{eis_inference_id}", - "methods": ["PUT"], - "parts": { - "task_type": { - "type": "string", - "description": "The task type" - }, - "eis_inference_id": { - "type": "string", - "description": "The inference ID" - } - } - } - ] - }, - "body": { - "description": "The inference endpoint's service settings" - } - } -}