diff --git a/src/lib/apis/1_1.js b/src/lib/apis/1_1.js index 21d21f343..5064152da 100644 --- a/src/lib/apis/1_1.js +++ b/src/lib/apis/1_1.js @@ -1721,6 +1721,7 @@ api.indices = function IndicesNS(transport) { * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.analyzer - The name of the analyzer to use + * @param {String, String[], Boolean} params.charFilters - A comma-separated list of character filters to use for the analysis * @param {String} params.field - Use the analyzer configured for this field (instead of passing the analyzer name) * @param {String, String[], Boolean} params.filters - A comma-separated list of filters to use for the analysis * @param {String} params.index - The name of the index to scope the operation @@ -1734,6 +1735,10 @@ api.indices.prototype.analyze = ca({ analyzer: { type: 'string' }, + charFilters: { + type: 'list', + name: 'char_filters' + }, field: { type: 'string' }, diff --git a/src/lib/apis/1_x.js b/src/lib/apis/1_x.js index d4b73c4d6..c6c6d2516 100644 --- a/src/lib/apis/1_x.js +++ b/src/lib/apis/1_x.js @@ -909,7 +909,6 @@ api.cluster.prototype.reroute = ca({ * @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 - Specify timeout for connection to master - * @param {String, String[], Boolean} params.indexTemplates - A comma separated list to return specific index templates when returning metadata * @param {Boolean} params.flatSettings - Return settings in flat format (default: false) * @param {String, String[], Boolean} params.index - A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices * @param {String, String[], Boolean} params.metric - Limit the information returned to the specified metrics @@ -923,10 +922,6 @@ api.cluster.prototype.state = ca({ type: 'time', name: 'master_timeout' }, - indexTemplates: { - type: 'list', - name: 'index_templates' - }, flatSettings: { type: 'boolean', name: 'flat_settings' @@ -1780,6 +1775,7 @@ api.indices = function IndicesNS(transport) { * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.analyzer - The name of the analyzer to use + * @param {String, String[], Boolean} params.charFilters - A comma-separated list of character filters to use for the analysis * @param {String} params.field - Use the analyzer configured for this field (instead of passing the analyzer name) * @param {String, String[], Boolean} params.filters - A comma-separated list of filters to use for the analysis * @param {String} params.index - The name of the index to scope the operation @@ -1793,6 +1789,10 @@ api.indices.prototype.analyze = ca({ analyzer: { type: 'string' }, + charFilters: { + type: 'list', + name: 'char_filters' + }, field: { type: 'string' }, diff --git a/src/lib/apis/master.js b/src/lib/apis/master.js index f79be1f38..eb95a1ea5 100644 --- a/src/lib/apis/master.js +++ b/src/lib/apis/master.js @@ -909,7 +909,6 @@ api.cluster.prototype.reroute = ca({ * @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 - Specify timeout for connection to master - * @param {String, String[], Boolean} params.indexTemplates - A comma separated list to return specific index templates when returning metadata * @param {Boolean} params.flatSettings - Return settings in flat format (default: false) * @param {String, String[], Boolean} params.index - A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices * @param {String, String[], Boolean} params.metric - Limit the information returned to the specified metrics @@ -923,10 +922,6 @@ api.cluster.prototype.state = ca({ type: 'time', name: 'master_timeout' }, - indexTemplates: { - type: 'list', - name: 'index_templates' - }, flatSettings: { type: 'boolean', name: 'flat_settings' @@ -1780,6 +1775,7 @@ api.indices = function IndicesNS(transport) { * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.analyzer - The name of the analyzer to use + * @param {String, String[], Boolean} params.charFilters - A comma-separated list of character filters to use for the analysis * @param {String} params.field - Use the analyzer configured for this field (instead of passing the analyzer name) * @param {String, String[], Boolean} params.filters - A comma-separated list of filters to use for the analysis * @param {String} params.index - The name of the index to scope the operation @@ -1793,6 +1789,10 @@ api.indices.prototype.analyze = ca({ analyzer: { type: 'string' }, + charFilters: { + type: 'list', + name: 'char_filters' + }, field: { type: 'string' },