Skip to content

Commit a254b2d

Browse files
REST spec: Added update_all_types to indices.put_mapping and indices.create
Closes #12840
1 parent a0565f0 commit a254b2d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
"master_timeout": {
2121
"type" : "time",
2222
"description" : "Specify timeout for connection to master"
23+
},
24+
"update_all_types": {
25+
"type": "boolean",
26+
"description": "Whether to update the mapping for all fields with the same name across all types or not"
2327
}
2428
}
2529
},

rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
"options" : ["open","closed","none","all"],
3939
"default" : "open",
4040
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
41+
},
42+
"update_all_types": {
43+
"type": "boolean",
44+
"description": "Whether to update the mapping for all fields with the same name across all types or not"
4145
}
4246
}
4347
},

0 commit comments

Comments
 (0)