REST spec: Added update_all_types to indices.put_mapping and indices.create
Closes #12840
This commit is contained in:
parent
a0565f00dd
commit
a254b2da29
|
@ -20,6 +20,10 @@
|
||||||
"master_timeout": {
|
"master_timeout": {
|
||||||
"type" : "time",
|
"type" : "time",
|
||||||
"description" : "Specify timeout for connection to master"
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -38,6 +38,10 @@
|
||||||
"options" : ["open","closed","none","all"],
|
"options" : ["open","closed","none","all"],
|
||||||
"default" : "open",
|
"default" : "open",
|
||||||
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue