revert default api back to 1.7, until 2.0 GA is released
This commit is contained in:
@ -2198,6 +2198,7 @@ api.indices.prototype.close = ca({
|
||||
* @param {Object} params - An object with parameters used to carry out this action
|
||||
* @param {Date, Number} params.timeout - Explicit operation timeout
|
||||
* @param {Date, Number} params.masterTimeout - Specify timeout for connection to master
|
||||
* @param {Boolean} params.updateAllTypes - Whether to update the mapping for all fields with the same name across all types or not
|
||||
* @param {String} params.index - The name of the index
|
||||
*/
|
||||
api.indices.prototype.create = ca({
|
||||
@ -2208,6 +2209,10 @@ api.indices.prototype.create = ca({
|
||||
masterTimeout: {
|
||||
type: 'time',
|
||||
name: 'master_timeout'
|
||||
},
|
||||
updateAllTypes: {
|
||||
type: 'boolean',
|
||||
name: 'update_all_types'
|
||||
}
|
||||
},
|
||||
url: {
|
||||
@ -3393,6 +3398,7 @@ api.indices.prototype.putAlias = ca({
|
||||
* @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
|
||||
* @param {Boolean} params.allowNoIndices - Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
|
||||
* @param {String} [params.expandWildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both.
|
||||
* @param {Boolean} params.updateAllTypes - Whether to update the mapping for all fields with the same name across all types or not
|
||||
* @param {String, String[], Boolean} params.index - A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.
|
||||
* @param {String} params.type - The name of the document type
|
||||
*/
|
||||
@ -3423,6 +3429,10 @@ api.indices.prototype.putMapping = ca({
|
||||
'all'
|
||||
],
|
||||
name: 'expand_wildcards'
|
||||
},
|
||||
updateAllTypes: {
|
||||
type: 'boolean',
|
||||
name: 'update_all_types'
|
||||
}
|
||||
},
|
||||
urls: [
|
||||
|
||||
@ -2198,6 +2198,7 @@ api.indices.prototype.close = ca({
|
||||
* @param {Object} params - An object with parameters used to carry out this action
|
||||
* @param {Date, Number} params.timeout - Explicit operation timeout
|
||||
* @param {Date, Number} params.masterTimeout - Specify timeout for connection to master
|
||||
* @param {Boolean} params.updateAllTypes - Whether to update the mapping for all fields with the same name across all types or not
|
||||
* @param {String} params.index - The name of the index
|
||||
*/
|
||||
api.indices.prototype.create = ca({
|
||||
@ -2208,6 +2209,10 @@ api.indices.prototype.create = ca({
|
||||
masterTimeout: {
|
||||
type: 'time',
|
||||
name: 'master_timeout'
|
||||
},
|
||||
updateAllTypes: {
|
||||
type: 'boolean',
|
||||
name: 'update_all_types'
|
||||
}
|
||||
},
|
||||
url: {
|
||||
@ -3393,6 +3398,7 @@ api.indices.prototype.putAlias = ca({
|
||||
* @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
|
||||
* @param {Boolean} params.allowNoIndices - Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
|
||||
* @param {String} [params.expandWildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both.
|
||||
* @param {Boolean} params.updateAllTypes - Whether to update the mapping for all fields with the same name across all types or not
|
||||
* @param {String, String[], Boolean} params.index - A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.
|
||||
* @param {String} params.type - The name of the document type
|
||||
*/
|
||||
@ -3423,6 +3429,10 @@ api.indices.prototype.putMapping = ca({
|
||||
'all'
|
||||
],
|
||||
name: 'expand_wildcards'
|
||||
},
|
||||
updateAllTypes: {
|
||||
type: 'boolean',
|
||||
name: 'update_all_types'
|
||||
}
|
||||
},
|
||||
urls: [
|
||||
|
||||
Reference in New Issue
Block a user