[apis] regenerate
This commit is contained in:
@ -1460,7 +1460,7 @@ Check the *<<api-conventions>>* and https://www.elastic.co/guide/en/elasticsearc
|
||||
|
||||
[horizontal]
|
||||
`requestsPerSecond`::
|
||||
<<api-param-type-number,`Number`>> -- The throttle to set on this request in sub-requests per second. 0 means set no throttle. As does "unlimited". Otherwise it must be a float.
|
||||
<<api-param-type-number,`Number`>> -- The throttle to set on this request in sub-requests per second. "unlimited" means set no throttle, otherwise it must be a float greater than 0.
|
||||
`taskId`::
|
||||
<<api-param-type-string,`String`>> -- The task id to rethrottle
|
||||
`body`::
|
||||
|
||||
@ -5279,7 +5279,7 @@ api.reindex = ca({
|
||||
* Perform a [reindexRethrottle](https://www.elastic.co/guide/en/elasticsearch/reference/2.4/docs-reindex.html) request
|
||||
*
|
||||
* @param {Object} params - An object with parameters used to carry out this action
|
||||
* @param {<<api-param-type-number,`Number`>>} params.requestsPerSecond - The throttle to set on this request in sub-requests per second. 0 means set no throttle. As does "unlimited". Otherwise it must be a float.
|
||||
* @param {<<api-param-type-number,`Number`>>} params.requestsPerSecond - The throttle to set on this request in sub-requests per second. "unlimited" means set no throttle, otherwise it must be a float greater than 0.
|
||||
* @param {<<api-param-type-string,`String`>>} params.taskId - The task id to rethrottle
|
||||
*/
|
||||
api.reindexRethrottle = ca({
|
||||
|
||||
@ -11,7 +11,7 @@ var ca = require('../client_action').makeFactoryWithModifier(function (spec) {
|
||||
var namespace = require('../client_action').namespaceFactory;
|
||||
var api = module.exports = {};
|
||||
|
||||
api._namespaces = ['cat', 'cluster', 'indices', 'ingest', 'ingest.processor', 'nodes', 'remote', 'snapshot', 'tasks'];
|
||||
api._namespaces = ['cat', 'cluster', 'indices', 'ingest', 'ingest.prototype.processor', 'nodes', 'remote', 'snapshot', 'tasks'];
|
||||
|
||||
/**
|
||||
* Perform a [bulk](https://www.elastic.co/guide/en/elasticsearch/reference/5.x/docs-bulk.html) request
|
||||
@ -4982,6 +4982,8 @@ api.ingest.prototype.getPipeline = ca({
|
||||
]
|
||||
});
|
||||
|
||||
api.ingest.prototype.processor = namespace();
|
||||
|
||||
/**
|
||||
* Perform a [ingest.processor.grok](https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html) request
|
||||
*
|
||||
|
||||
@ -11,7 +11,7 @@ var ca = require('../client_action').makeFactoryWithModifier(function (spec) {
|
||||
var namespace = require('../client_action').namespaceFactory;
|
||||
var api = module.exports = {};
|
||||
|
||||
api._namespaces = ['cat', 'cluster', 'indices', 'ingest', 'ingest.processor', 'nodes', 'remote', 'snapshot', 'tasks'];
|
||||
api._namespaces = ['cat', 'cluster', 'indices', 'ingest', 'ingest.prototype.processor', 'nodes', 'remote', 'snapshot', 'tasks'];
|
||||
|
||||
/**
|
||||
* Perform a [bulk](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html) request
|
||||
@ -4832,6 +4832,8 @@ api.ingest.prototype.getPipeline = ca({
|
||||
]
|
||||
});
|
||||
|
||||
api.ingest.prototype.processor = namespace();
|
||||
|
||||
/**
|
||||
* Perform a [ingest.processor.grok](https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html) request
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user