update master api
This commit is contained in:
@ -452,6 +452,42 @@ api.cat.prototype.master = ca({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Perform a [cat.nodeattrs](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html) request
|
||||||
|
*
|
||||||
|
* @param {Object} params - An object with parameters used to carry out this action
|
||||||
|
* @param {Boolean} params.local - Return local information, do not retrieve the state from master node (default: false)
|
||||||
|
* @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node
|
||||||
|
* @param {String, String[], Boolean} params.h - Comma-separated list of column names to display
|
||||||
|
* @param {Boolean} params.help - Return help information
|
||||||
|
* @param {Boolean} [params.v=true] - Verbose mode. Display column headers
|
||||||
|
*/
|
||||||
|
api.cat.prototype.nodeattrs = ca({
|
||||||
|
params: {
|
||||||
|
local: {
|
||||||
|
type: 'boolean'
|
||||||
|
},
|
||||||
|
masterTimeout: {
|
||||||
|
type: 'time',
|
||||||
|
name: 'master_timeout'
|
||||||
|
},
|
||||||
|
h: {
|
||||||
|
type: 'list'
|
||||||
|
},
|
||||||
|
help: {
|
||||||
|
type: 'boolean',
|
||||||
|
'default': false
|
||||||
|
},
|
||||||
|
v: {
|
||||||
|
type: 'boolean',
|
||||||
|
'default': true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
url: {
|
||||||
|
fmt: '/_cat/nodeattrs'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Perform a [cat.nodes](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html) request
|
* Perform a [cat.nodes](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html) request
|
||||||
*
|
*
|
||||||
@ -3524,6 +3560,7 @@ api.indices.prototype.putTemplate = ca({
|
|||||||
* @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) in the search request to warm
|
* @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) in the search request to warm
|
||||||
* @param {Boolean} params.allowNoIndices - Whether to ignore if a wildcard indices expression resolves into no concrete indices in the search request to warm. (This includes `_all` string or when no indices have been specified)
|
* @param {Boolean} params.allowNoIndices - Whether to ignore if a wildcard indices expression resolves into no concrete indices in the search request to warm. (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, in the search request to warm.
|
* @param {String} [params.expandWildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both, in the search request to warm.
|
||||||
|
* @param {Boolean} params.requestCache - Specify whether the request to be wamred shoyd use the request cache, defaults to index level setting
|
||||||
* @param {String, String[], Boolean} params.index - A comma-separated list of index names to register the warmer for; use `_all` or omit to perform the operation on all indices
|
* @param {String, String[], Boolean} params.index - A comma-separated list of index names to register the warmer for; use `_all` or omit to perform the operation on all indices
|
||||||
* @param {String} params.name - The name of the warmer
|
* @param {String} params.name - The name of the warmer
|
||||||
* @param {String, String[], Boolean} params.type - A comma-separated list of document types to register the warmer for; leave empty to perform the operation on all types
|
* @param {String, String[], Boolean} params.type - A comma-separated list of document types to register the warmer for; leave empty to perform the operation on all types
|
||||||
@ -3552,6 +3589,10 @@ api.indices.prototype.putWarmer = ca({
|
|||||||
'all'
|
'all'
|
||||||
],
|
],
|
||||||
name: 'expand_wildcards'
|
name: 'expand_wildcards'
|
||||||
|
},
|
||||||
|
requestCache: {
|
||||||
|
type: 'boolean',
|
||||||
|
name: 'request_cache'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
urls: [
|
urls: [
|
||||||
|
|||||||
Reference in New Issue
Block a user