Skip to content

Commit 95d8059

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 1540fd0 commit 95d8059

File tree

5 files changed

+33
-6
lines changed

5 files changed

+33
-6
lines changed

output/schema/validation-errors.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"cluster.get_component_template": {
1111
"request": [
12-
"Request: query parameter 'flat_settings' does not exist in the json spec"
12+
"Request: missing json spec query parameter 'settings_filter'"
1313
],
1414
"response": []
1515
},
@@ -31,6 +31,12 @@
3131
],
3232
"response": []
3333
},
34+
"get": {
35+
"request": [
36+
"Request: missing json spec query parameter '_source_exclude_vectors'"
37+
],
38+
"response": []
39+
},
3440
"msearch": {
3541
"request": [
3642
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
@@ -42,16 +48,16 @@
4248
],
4349
"response": []
4450
},
45-
"open_point_in_time": {
51+
"reindex": {
4652
"request": [
47-
"Request: query parameter 'max_concurrent_shard_requests' does not exist in the json spec"
53+
"Request: query parameter 'require_alias' does not exist in the json spec",
54+
"Request: missing json spec query parameter 'max_docs'"
4855
],
4956
"response": []
5057
},
51-
"reindex": {
58+
"search": {
5259
"request": [
53-
"Request: query parameter 'require_alias' does not exist in the json spec",
54-
"Request: missing json spec query parameter 'max_docs'"
60+
"Request: missing json spec query parameter '_source_exclude_vectors'"
5561
],
5662
"response": []
5763
},

specification/_json_spec/cluster.get_component_template.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
"include_defaults": {
4141
"type": "boolean",
4242
"description": "Return all default configurations for the component template (default: false)"
43+
},
44+
"flat_settings": {
45+
"type": "boolean",
46+
"description": "Return settings in flat format (default: false)"
47+
},
48+
"settings_filter": {
49+
"type": "string",
50+
"description": "Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys"
4351
}
4452
}
4553
}

specification/_json_spec/get.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@
6666
"type": "list",
6767
"description": "A list of fields to extract and return from the _source field"
6868
},
69+
"_source_exclude_vectors": {
70+
"type": "boolean",
71+
"description": "Whether vectors should be excluded from _source"
72+
},
6973
"version": {
7074
"type": "number",
7175
"description": "Explicit version number for concurrency control"

specification/_json_spec/open_point_in_time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
"allow_partial_search_results": {
5252
"type": "boolean",
5353
"description": "Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)"
54+
},
55+
"max_concurrent_shard_requests": {
56+
"type": "number",
57+
"description": "The number of concurrent shard requests per node executed concurrently when opening this point-in-time. This value should be used to limit the impact of opening the point-in-time on the cluster",
58+
"default": 5
5459
}
5560
},
5661
"body": {

specification/_json_spec/search.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@
137137
"type": "list",
138138
"description": "A list of fields to extract and return from the _source field"
139139
},
140+
"_source_exclude_vectors": {
141+
"type": "boolean",
142+
"description": "Whether vectors should be excluded from _source"
143+
},
140144
"terminate_after": {
141145
"type": "number",
142146
"description": "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early."

0 commit comments

Comments
 (0)