Skip to content

Commit ebd729a

Browse files
github-actions[bot]pquentinl-trotta
authored
Update rest-api-spec main (#3592)
* Update rest-api-spec * master timeout to ilm migrate * Fix server_default for allow_partial_search_results --------- Co-authored-by: pquentin <[email protected]> Co-authored-by: Laura Trotta <[email protected]> Co-authored-by: Laura Trotta <[email protected]> Co-authored-by: Quentin Pradet <[email protected]>
1 parent 773e91b commit ebd729a

15 files changed

+50
-10
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 10 additions & 0 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: 14 additions & 1 deletion
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
@@ -38,7 +38,6 @@
3838
},
3939
"async_search.submit": {
4040
"request": [
41-
"Request: query parameter 'keep_alive' does not exist in the json spec",
4241
"interface definition _types:QueryVectorBuilder - Property text_embedding is a single-variant and must be required"
4342
],
4443
"response": []

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/async_search.submit.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939
"description": "Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false)",
4040
"default": false
4141
},
42+
"keep_alive": {
43+
"type": "time",
44+
"description": "Update the time interval in which the results (partial or final) for this search will be available",
45+
"default": "5d"
46+
},
4247
"batched_reduce_size": {
4348
"type": "number",
4449
"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.",

specification/_json_spec/enrich.get_policy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"params": {
3131
"master_timeout": {
3232
"type": "time",
33-
"description": "Timeout for processing on master node"
33+
"description": "Timeout for waiting for new cluster state in case it is blocked"
3434
}
3535
}
3636
}

specification/_json_spec/enrich.stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"params": {
2121
"master_timeout": {
2222
"type": "time",
23-
"description": "Timeout for processing on master node"
23+
"description": "Timeout for waiting for new cluster state in case it is blocked"
2424
}
2525
}
2626
}

specification/_json_spec/eql.search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"allow_partial_search_results": {
4343
"type": "boolean",
4444
"description": "Control whether the query should keep running in case of shard failures, and return partial results",
45-
"default": false
45+
"default": true
4646
},
4747
"allow_partial_sequence_results": {
4848
"type": "boolean",

specification/_json_spec/ilm.migrate_to_data_tiers.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
]
2020
},
2121
"params": {
22+
"master_timeout": {
23+
"type": "time",
24+
"description": "Explicit operation timeout for connection to master node"
25+
},
2226
"dry_run": {
2327
"type": "boolean",
2428
"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"

specification/_json_spec/indices.cancel_migrate_reindex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.cancel_migrate_reindex": {
33
"documentation": {
4-
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex-cancel-api.html",
55
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
66
},
77
"stability": "experimental",

0 commit comments

Comments
 (0)