Remove unsupported async_search parameters from rest-api-spec (#117626)

This commit is contained in:
Quentin Pradet 2024-11-29 17:22:37 +04:00 committed by GitHub
parent 6417e0912f
commit e19f2b7fbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,11 +43,6 @@
"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.",
@ -131,11 +126,6 @@
"type":"string",
"description":"Specify the node or shard the operation should be performed on (default: random)"
},
"pre_filter_shard_size":{
"type":"number",
"default": 1,
"description":"Cannot be changed: this is to enforce the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely dont hold any document matching the query get skipped."
},
"rest_total_hits_as_int":{
"type":"boolean",
"description":"Indicates whether hits.total should be rendered as an integer or an object in the rest search response",