Skip to content

Commit 6b9ac5e

Browse files
authored
Add back keep_alive to async_search.submit rest-api-spec (elastic#120781) (elastic#120787)
1 parent bf9dbbf commit 6b9ac5e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/changelog/120781.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 120781
2+
summary: Add back `keep_alive` to `async_search.submit` rest-api-spec
3+
area: Search
4+
type: bug
5+
issues: []

rest-api-spec/src/main/resources/rest-api-spec/api/async_search.submit.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
"description":"Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false)",
4444
"default":false
4545
},
46+
"keep_alive": {
47+
"type": "time",
48+
"description": "Update the time interval in which the results (partial or final) for this search will be available",
49+
"default": "5d"
50+
},
4651
"batched_reduce_size":{
4752
"type":"number",
4853
"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.",

0 commit comments

Comments
 (0)