[apis] regenerate
This commit is contained in:
File diff suppressed because it is too large
Load Diff
5158
docs/api_methods_6_2.asciidoc
Normal file
5158
docs/api_methods_6_2.asciidoc
Normal file
File diff suppressed because it is too large
Load Diff
@ -52,9 +52,10 @@ Default in Node:::
|
||||
+
|
||||
WARNING: This default will track the latest version of Elasticsearch, and is only intended to be used during development. It is highly recommended that you set this parameter in all code that is headed to production.
|
||||
|
||||
Default ::: `'6.2'`
|
||||
Default ::: `'6.3'`
|
||||
|
||||
Options in node :::
|
||||
* `'6.3'`
|
||||
* `'6.2'`
|
||||
* `'6.1'`
|
||||
* `'6.0'`
|
||||
@ -72,11 +73,11 @@ Options in node :::
|
||||
* `'master'` (unstable)
|
||||
|
||||
Options in the browser :::
|
||||
* `'6.3'`
|
||||
* `'6.2'`
|
||||
* `'6.1'`
|
||||
* `'6.0'`
|
||||
* `'5.6'`
|
||||
* `'5.5'`
|
||||
* `'6.x'` (unstable)
|
||||
* `'master'` (unstable)
|
||||
|
||||
|
||||
@ -22,6 +22,8 @@ include::development.asciidoc[]
|
||||
|
||||
include::api_methods.asciidoc[]
|
||||
|
||||
include::api_methods_6_2.asciidoc[]
|
||||
|
||||
include::api_methods_6_1.asciidoc[]
|
||||
|
||||
include::api_methods_6_0.asciidoc[]
|
||||
|
||||
7055
src/lib/apis/6_3.js
Normal file
7055
src/lib/apis/6_3.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -2499,9 +2499,16 @@ api.get = ca({
|
||||
* Perform a [getScript](https://www.elastic.co/guide/en/elasticsearch/reference/6.x/modules-scripting.html) request
|
||||
*
|
||||
* @param {Object} params - An object with parameters used to carry out this action
|
||||
* @param {<<api-param-type-duration-string,`DurationString`>>} params.masterTimeout - Specify timeout for connection to master
|
||||
* @param {<<api-param-type-string,`String`>>} params.id - Script ID
|
||||
*/
|
||||
api.getScript = ca({
|
||||
params: {
|
||||
masterTimeout: {
|
||||
type: 'time',
|
||||
name: 'master_timeout'
|
||||
}
|
||||
},
|
||||
url: {
|
||||
fmt: '/_scripts/<%=id%>',
|
||||
req: {
|
||||
@ -3597,6 +3604,7 @@ api.indices.prototype.getFieldMapping = ca({
|
||||
* @param {<<api-param-type-boolean,`Boolean`>>} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
|
||||
* @param {<<api-param-type-boolean,`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 {<<api-param-type-string,`String`>>} [params.expandWildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both.
|
||||
* @param {<<api-param-type-duration-string,`DurationString`>>} params.masterTimeout - Specify timeout for connection to master
|
||||
* @param {<<api-param-type-boolean,`Boolean`>>} params.local - Return local information, do not retrieve the state from master node (default: false)
|
||||
* @param {<<api-param-type-string,`String`>>, <<api-param-type-string-array,`String[]`>>, <<api-param-type-boolean,`Boolean`>>} params.index - A comma-separated list of index names
|
||||
* @param {<<api-param-type-string,`String`>>, <<api-param-type-string-array,`String[]`>>, <<api-param-type-boolean,`Boolean`>>} params.type - A comma-separated list of document types
|
||||
@ -3622,6 +3630,10 @@ api.indices.prototype.getMapping = ca({
|
||||
],
|
||||
name: 'expand_wildcards'
|
||||
},
|
||||
masterTimeout: {
|
||||
type: 'time',
|
||||
name: 'master_timeout'
|
||||
},
|
||||
local: {
|
||||
type: 'boolean'
|
||||
}
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
module.exports = {
|
||||
'_default': require('./6_2'),
|
||||
'_default': require('./6_3'),
|
||||
'6.3': require('./6_3'),
|
||||
'6.2': require('./6_2'),
|
||||
'6.1': require('./6_1'),
|
||||
'6.0': require('./6_0'),
|
||||
'5.6': require('./5_6'),
|
||||
'5.5': require('./5_5'),
|
||||
'6.x': require('./6_x'),
|
||||
'master': require('./master')
|
||||
};
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
module.exports = {
|
||||
get '_default'() { return require('./6_2'); },
|
||||
get '_default'() { return require('./6_3'); },
|
||||
get '6.3'() { return require('./6_3'); },
|
||||
get '6.2'() { return require('./6_2'); },
|
||||
get '6.1'() { return require('./6_1'); },
|
||||
get '6.0'() { return require('./6_0'); },
|
||||
|
||||
@ -2536,9 +2536,16 @@ api.get = ca({
|
||||
* Perform a [getScript](https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html) request
|
||||
*
|
||||
* @param {Object} params - An object with parameters used to carry out this action
|
||||
* @param {<<api-param-type-duration-string,`DurationString`>>} params.masterTimeout - Specify timeout for connection to master
|
||||
* @param {<<api-param-type-string,`String`>>} params.id - Script ID
|
||||
*/
|
||||
api.getScript = ca({
|
||||
params: {
|
||||
masterTimeout: {
|
||||
type: 'time',
|
||||
name: 'master_timeout'
|
||||
}
|
||||
},
|
||||
url: {
|
||||
fmt: '/_scripts/<%=id%>',
|
||||
req: {
|
||||
@ -3649,6 +3656,7 @@ api.indices.prototype.getFieldMapping = ca({
|
||||
* @param {<<api-param-type-boolean,`Boolean`>>} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
|
||||
* @param {<<api-param-type-boolean,`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 {<<api-param-type-string,`String`>>} [params.expandWildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both.
|
||||
* @param {<<api-param-type-duration-string,`DurationString`>>} params.masterTimeout - Specify timeout for connection to master
|
||||
* @param {<<api-param-type-boolean,`Boolean`>>} params.local - Return local information, do not retrieve the state from master node (default: false)
|
||||
* @param {<<api-param-type-string,`String`>>, <<api-param-type-string-array,`String[]`>>, <<api-param-type-boolean,`Boolean`>>} params.index - A comma-separated list of index names
|
||||
* @param {<<api-param-type-string,`String`>>, <<api-param-type-string-array,`String[]`>>, <<api-param-type-boolean,`Boolean`>>} params.type - A comma-separated list of document types
|
||||
@ -3678,6 +3686,10 @@ api.indices.prototype.getMapping = ca({
|
||||
],
|
||||
name: 'expand_wildcards'
|
||||
},
|
||||
masterTimeout: {
|
||||
type: 'time',
|
||||
name: 'master_timeout'
|
||||
},
|
||||
local: {
|
||||
type: 'boolean'
|
||||
}
|
||||
@ -5934,7 +5946,7 @@ api.scroll = ca({
|
||||
* @param {<<api-param-type-boolean,`Boolean`>>} params.version - Specify whether to return document version as part of a hit
|
||||
* @param {<<api-param-type-boolean,`Boolean`>>} params.requestCache - Specify if request cache should be used for this request or not, defaults to index level setting
|
||||
* @param {<<api-param-type-number,`Number`>>} [params.batchedReduceSize=512] - The number of shard results that should be reduced at once on the coordinating node. This value should be used as a protection mechanism to reduce the memory overhead per search request if the potential number of shards in the request can be large.
|
||||
* @param {<<api-param-type-number,`Number`>>} [params.maxConcurrentShardRequests=The default grows with the number of nodes in the cluster but is at most 256.] - The number of concurrent shard requests this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests
|
||||
* @param {<<api-param-type-number,`Number`>>} [params.maxConcurrentShardRequests=The default is 5.] - The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests
|
||||
* @param {<<api-param-type-number,`Number`>>} [params.preFilterShardSize=128] - A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on it's rewrite method ie. if date filters are mandatory to match but the shard bounds and the query are disjoint.
|
||||
* @param {<<api-param-type-string,`String`>>, <<api-param-type-string-array,`String[]`>>, <<api-param-type-boolean,`Boolean`>>} params.index - A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
|
||||
* @param {<<api-param-type-string,`String`>>, <<api-param-type-string-array,`String[]`>>, <<api-param-type-boolean,`Boolean`>>} params.type - A comma-separated list of document types to search; leave empty to perform the operation on all types
|
||||
@ -6100,7 +6112,7 @@ api.search = ca({
|
||||
},
|
||||
maxConcurrentShardRequests: {
|
||||
type: 'number',
|
||||
'default': 'The default grows with the number of nodes in the cluster but is at most 256.',
|
||||
'default': 'The default is 5.',
|
||||
name: 'max_concurrent_shard_requests'
|
||||
},
|
||||
preFilterShardSize: {
|
||||
|
||||
Reference in New Issue
Block a user