REST spec: Added update_all_types to indices.put_mapping and indices.create

Closes #12840
This commit is contained in:
Clinton Gormley 2015-08-26 15:32:44 +02:00
parent a0565f00dd
commit a254b2da29
2 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,10 @@
"master_timeout": {
"type" : "time",
"description" : "Specify timeout for connection to master"
},
"update_all_types": {
"type": "boolean",
"description": "Whether to update the mapping for all fields with the same name across all types or not"
}
}
},

View File

@ -38,6 +38,10 @@
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"update_all_types": {
"type": "boolean",
"description": "Whether to update the mapping for all fields with the same name across all types or not"
}
}
},