Skip to content

Commit d58df56

Browse files
authored
Merge branch '8.19' into backport-5471-to-8.19
2 parents 6f2ecfe + 1d61341 commit d58df56

File tree

269 files changed

+766
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+766
-175
lines changed

output/schema/schema.json

Lines changed: 1 addition & 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: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
22
"endpointErrors": {
3-
"streams.status": {
3+
"cat.segments": {
44
"request": [
5-
"Request: query parameter 'master_timeout' does not exist in the json spec"
5+
"Request: missing json spec query parameter 'ignore_unavailable'",
6+
"Request: missing json spec query parameter 'ignore_throttled'",
7+
"Request: missing json spec query parameter 'allow_no_indices'",
8+
"Request: missing json spec query parameter 'expand_wildcards'",
9+
"Request: missing json spec query parameter 'allow_closed'"
610
],
711
"response": []
812
}

specification/_json_spec/_internal.update_desired_nodes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"description": "the history id"
2222
},
2323
"version": {
24-
"type": "integer",
24+
"type": "int",
2525
"description": "the version number"
2626
}
2727
}

specification/_json_spec/async_search.status.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"params": {
2727
"keep_alive": {
2828
"type": "time",
29+
"default": "5d",
2930
"description": "Specify the time interval in which the results (partial or final) for this search will be available"
3031
}
3132
}

specification/_json_spec/async_search.submit.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,13 @@
4545
"default": "5d"
4646
},
4747
"batched_reduce_size": {
48-
"type": "number",
48+
"type": "long",
4949
"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.",
5050
"default": 5
5151
},
5252
"request_cache": {
5353
"type": "boolean",
54+
"default": true,
5455
"description": "Specify if request cache should be used for this request or not, defaults to true"
5556
},
5657
"analyzer": {
@@ -89,7 +90,7 @@
8990
"description": "A comma-separated list of fields to return as the docvalue representation of a field for each hit"
9091
},
9192
"from": {
92-
"type": "number",
93+
"type": "int",
9394
"description": "Starting offset (default: 0)"
9495
},
9596
"ignore_unavailable": {
@@ -137,7 +138,7 @@
137138
"description": "Search operation type"
138139
},
139140
"size": {
140-
"type": "number",
141+
"type": "int",
141142
"description": "Number of hits to return (default: 10)"
142143
},
143144
"sort": {
@@ -157,7 +158,7 @@
157158
"description": "A list of fields to extract and return from the _source field"
158159
},
159160
"terminate_after": {
160-
"type": "number",
161+
"type": "long",
161162
"description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early."
162163
},
163164
"stats": {
@@ -175,7 +176,7 @@
175176
"description": "Specify suggest mode"
176177
},
177178
"suggest_size": {
178-
"type": "number",
179+
"type": "long",
179180
"description": "How many suggestions to return in response"
180181
},
181182
"suggest_text": {
@@ -212,13 +213,14 @@
212213
"description": "Specify whether to return sequence number and primary term of the last modification of each hit"
213214
},
214215
"max_concurrent_shard_requests": {
215-
"type": "number",
216+
"type": "int",
216217
"description": "The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests",
217218
"default": 5
218219
}
219220
},
220221
"body": {
221-
"description": "The search definition using the Query DSL"
222+
"description": "The search definition using the Query DSL",
223+
"required": false
222224
}
223225
}
224226
}

specification/_json_spec/autoscaling.delete_autoscaling_policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
},
3232
"timeout": {
3333
"type": "time",
34+
"default": "30s",
3435
"description": "Timeout for acknowledgement of update from all nodes in cluster"
3536
}
3637
}

specification/_json_spec/autoscaling.put_autoscaling_policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
},
3333
"timeout": {
3434
"type": "time",
35+
"default": "30s",
3536
"description": "Timeout for acknowledgement of update from all nodes in cluster"
3637
}
3738
},

specification/_json_spec/bulk.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@
3131
"params": {
3232
"wait_for_active_shards": {
3333
"type": "string",
34+
"default": "1",
3435
"description": "Sets the number of shard copies that must be active before proceeding with the bulk operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)"
3536
},
3637
"refresh": {
3738
"type": "enum",
3839
"options": ["true", "false", "wait_for"],
40+
"default": "false",
3941
"description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
4042
},
4143
"routing": {
@@ -44,6 +46,7 @@
4446
},
4547
"timeout": {
4648
"type": "time",
49+
"default": "1m",
4750
"description": "Explicit operation timeout"
4851
},
4952
"_source": {
@@ -64,18 +67,22 @@
6467
},
6568
"require_alias": {
6669
"type": "boolean",
67-
"description": "Sets require_alias for all incoming documents. Defaults to unset (false)"
70+
"default": false,
71+
"description": "If true, the request's actions must target an index alias. Defaults to false."
6872
},
6973
"require_data_stream": {
7074
"type": "boolean",
71-
"description": "When true, requires the destination to be a data stream (existing or to-be-created). Default is false"
75+
"default": false,
76+
"description": "If true, the request's actions must target a data stream (existing or to-be-created). Default to false"
7277
},
7378
"list_executed_pipelines": {
7479
"type": "boolean",
80+
"default": false,
7581
"description": "Sets list_executed_pipelines for all incoming documents. Defaults to unset (false)"
7682
},
7783
"include_source_on_error": {
7884
"type": "boolean",
85+
"default": true,
7986
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
8087
}
8188
},

specification/_json_spec/cat.allocation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
},
4646
"local": {
4747
"type": "boolean",
48+
"default": false,
4849
"description": "Return local information, do not retrieve the state from master node (default: false)"
4950
},
5051
"master_timeout": {

specification/_json_spec/cat.component_templates.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
},
3636
"local": {
3737
"type": "boolean",
38+
"default": false,
3839
"description": "Return local information, do not retrieve the state from master node (default: false)"
3940
},
4041
"master_timeout": {

0 commit comments

Comments
 (0)