Revert "Committing generated artifacts"
This reverts commit 0a7a45d86a.
This commit is contained in:
@ -1216,7 +1216,7 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
client.msearch({
|
client.msearch({
|
||||||
body: [
|
body: [
|
||||||
// match all query, on all indices and types
|
// match all query, on all indices and types
|
||||||
{},
|
{}
|
||||||
{ query: { match_all: {} } },
|
{ query: { match_all: {} } },
|
||||||
|
|
||||||
// query_string query, on index/mytype
|
// query_string query, on index/mytype
|
||||||
|
|||||||
@ -905,7 +905,7 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
client.msearch({
|
client.msearch({
|
||||||
body: [
|
body: [
|
||||||
// match all query, on all indices and types
|
// match all query, on all indices and types
|
||||||
{},
|
{}
|
||||||
{ query: { match_all: {} } },
|
{ query: { match_all: {} } },
|
||||||
|
|
||||||
// query_string query, on index/mytype
|
// query_string query, on index/mytype
|
||||||
|
|||||||
@ -1007,7 +1007,7 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
client.msearch({
|
client.msearch({
|
||||||
body: [
|
body: [
|
||||||
// match all query, on all indices and types
|
// match all query, on all indices and types
|
||||||
{},
|
{}
|
||||||
{ query: { match_all: {} } },
|
{ query: { match_all: {} } },
|
||||||
|
|
||||||
// query_string query, on index/mytype
|
// query_string query, on index/mytype
|
||||||
|
|||||||
@ -1019,7 +1019,7 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
client.msearch({
|
client.msearch({
|
||||||
body: [
|
body: [
|
||||||
// match all query, on all indices and types
|
// match all query, on all indices and types
|
||||||
{},
|
{}
|
||||||
{ query: { match_all: {} } },
|
{ query: { match_all: {} } },
|
||||||
|
|
||||||
// query_string query, on index/mytype
|
// query_string query, on index/mytype
|
||||||
|
|||||||
@ -1019,7 +1019,7 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
client.msearch({
|
client.msearch({
|
||||||
body: [
|
body: [
|
||||||
// match all query, on all indices and types
|
// match all query, on all indices and types
|
||||||
{},
|
{}
|
||||||
{ query: { match_all: {} } },
|
{ query: { match_all: {} } },
|
||||||
|
|
||||||
// query_string query, on index/mytype
|
// query_string query, on index/mytype
|
||||||
|
|||||||
@ -1115,7 +1115,7 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
client.msearch({
|
client.msearch({
|
||||||
body: [
|
body: [
|
||||||
// match all query, on all indices and types
|
// match all query, on all indices and types
|
||||||
{},
|
{}
|
||||||
{ query: { match_all: {} } },
|
{ query: { match_all: {} } },
|
||||||
|
|
||||||
// query_string query, on index/mytype
|
// query_string query, on index/mytype
|
||||||
|
|||||||
@ -1169,7 +1169,7 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
client.msearch({
|
client.msearch({
|
||||||
body: [
|
body: [
|
||||||
// match all query, on all indices and types
|
// match all query, on all indices and types
|
||||||
{},
|
{}
|
||||||
{ query: { match_all: {} } },
|
{ query: { match_all: {} } },
|
||||||
|
|
||||||
// query_string query, on index/mytype
|
// query_string query, on index/mytype
|
||||||
|
|||||||
@ -1169,7 +1169,7 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
|||||||
client.msearch({
|
client.msearch({
|
||||||
body: [
|
body: [
|
||||||
// match all query, on all indices and types
|
// match all query, on all indices and types
|
||||||
{},
|
{}
|
||||||
{ query: { match_all: {} } },
|
{ query: { match_all: {} } },
|
||||||
|
|
||||||
// query_string query, on index/mytype
|
// query_string query, on index/mytype
|
||||||
|
|||||||
@ -5805,7 +5805,17 @@ api.snapshot.prototype.create = ca({
|
|||||||
name: 'wait_for_completion'
|
name: 'wait_for_completion'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: {},
|
url: {
|
||||||
|
fmt: '/_snapshot/<%=repository%>/<%=snapshot%>/_create',
|
||||||
|
req: {
|
||||||
|
repository: {
|
||||||
|
type: 'string'
|
||||||
|
},
|
||||||
|
snapshot: {
|
||||||
|
type: 'string'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -5805,7 +5805,17 @@ api.snapshot.prototype.create = ca({
|
|||||||
name: 'wait_for_completion'
|
name: 'wait_for_completion'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: {},
|
url: {
|
||||||
|
fmt: '/_snapshot/<%=repository%>/<%=snapshot%>/_create',
|
||||||
|
req: {
|
||||||
|
repository: {
|
||||||
|
type: 'string'
|
||||||
|
},
|
||||||
|
snapshot: {
|
||||||
|
type: 'string'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -2033,13 +2033,14 @@ api.indices.prototype.analyze = ca({
|
|||||||
* @param {Boolean} params.fieldData - Clear field data
|
* @param {Boolean} params.fieldData - Clear field data
|
||||||
* @param {Boolean} params.fielddata - Clear field data
|
* @param {Boolean} params.fielddata - Clear field data
|
||||||
* @param {String, String[], Boolean} params.fields - A comma-separated list of fields to clear when using the `field_data` parameter (default: all)
|
* @param {String, String[], Boolean} params.fields - A comma-separated list of fields to clear when using the `field_data` parameter (default: all)
|
||||||
* @param {Boolean} params.query - Clear query caches
|
* @param {Boolean} params.filter - Clear filter caches
|
||||||
|
* @param {Boolean} params.filterCache - Clear filter caches
|
||||||
* @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
|
* @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 {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 {String} [params.expandWildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both.
|
||||||
* @param {String, String[], Boolean} params.index - A comma-separated list of index name to limit the operation
|
* @param {String, String[], Boolean} params.index - A comma-separated list of index name to limit the operation
|
||||||
* @param {Boolean} params.recycler - Clear the recycler cache
|
* @param {Boolean} params.recycler - Clear the recycler cache
|
||||||
* @param {Boolean} params.request - Clear request cache
|
* @param {Boolean} params.queryCache - Clear query cache
|
||||||
*/
|
*/
|
||||||
api.indices.prototype.clearCache = ca({
|
api.indices.prototype.clearCache = ca({
|
||||||
params: {
|
params: {
|
||||||
@ -2053,9 +2054,13 @@ api.indices.prototype.clearCache = ca({
|
|||||||
fields: {
|
fields: {
|
||||||
type: 'list'
|
type: 'list'
|
||||||
},
|
},
|
||||||
query: {
|
filter: {
|
||||||
type: 'boolean'
|
type: 'boolean'
|
||||||
},
|
},
|
||||||
|
filterCache: {
|
||||||
|
type: 'boolean',
|
||||||
|
name: 'filter_cache'
|
||||||
|
},
|
||||||
ignoreUnavailable: {
|
ignoreUnavailable: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
name: 'ignore_unavailable'
|
name: 'ignore_unavailable'
|
||||||
@ -2081,8 +2086,9 @@ api.indices.prototype.clearCache = ca({
|
|||||||
recycler: {
|
recycler: {
|
||||||
type: 'boolean'
|
type: 'boolean'
|
||||||
},
|
},
|
||||||
request: {
|
queryCache: {
|
||||||
type: 'boolean'
|
type: 'boolean',
|
||||||
|
name: 'query_cache'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
urls: [
|
urls: [
|
||||||
@ -3801,13 +3807,13 @@ api.indices.prototype.stats = ca({
|
|||||||
'completion',
|
'completion',
|
||||||
'docs',
|
'docs',
|
||||||
'fielddata',
|
'fielddata',
|
||||||
'query_cache',
|
'filter_cache',
|
||||||
'flush',
|
'flush',
|
||||||
'get',
|
'get',
|
||||||
'indexing',
|
'indexing',
|
||||||
'merge',
|
'merge',
|
||||||
'percolate',
|
'percolate',
|
||||||
'request_cache',
|
'query_cache',
|
||||||
'refresh',
|
'refresh',
|
||||||
'search',
|
'search',
|
||||||
'segments',
|
'segments',
|
||||||
@ -3828,13 +3834,13 @@ api.indices.prototype.stats = ca({
|
|||||||
'completion',
|
'completion',
|
||||||
'docs',
|
'docs',
|
||||||
'fielddata',
|
'fielddata',
|
||||||
'query_cache',
|
'filter_cache',
|
||||||
'flush',
|
'flush',
|
||||||
'get',
|
'get',
|
||||||
'indexing',
|
'indexing',
|
||||||
'merge',
|
'merge',
|
||||||
'percolate',
|
'percolate',
|
||||||
'request_cache',
|
'query_cache',
|
||||||
'refresh',
|
'refresh',
|
||||||
'search',
|
'search',
|
||||||
'segments',
|
'segments',
|
||||||
@ -4559,13 +4565,13 @@ api.nodes.prototype.stats = ca({
|
|||||||
'completion',
|
'completion',
|
||||||
'docs',
|
'docs',
|
||||||
'fielddata',
|
'fielddata',
|
||||||
'query_cache',
|
'filter_cache',
|
||||||
'flush',
|
'flush',
|
||||||
'get',
|
'get',
|
||||||
'indexing',
|
'indexing',
|
||||||
'merge',
|
'merge',
|
||||||
'percolate',
|
'percolate',
|
||||||
'request_cache',
|
'query_cache',
|
||||||
'refresh',
|
'refresh',
|
||||||
'search',
|
'search',
|
||||||
'segments',
|
'segments',
|
||||||
@ -4626,13 +4632,13 @@ api.nodes.prototype.stats = ca({
|
|||||||
'completion',
|
'completion',
|
||||||
'docs',
|
'docs',
|
||||||
'fielddata',
|
'fielddata',
|
||||||
'query_cache',
|
'filter_cache',
|
||||||
'flush',
|
'flush',
|
||||||
'get',
|
'get',
|
||||||
'indexing',
|
'indexing',
|
||||||
'merge',
|
'merge',
|
||||||
'percolate',
|
'percolate',
|
||||||
'request_cache',
|
'query_cache',
|
||||||
'refresh',
|
'refresh',
|
||||||
'search',
|
'search',
|
||||||
'segments',
|
'segments',
|
||||||
@ -4901,29 +4907,6 @@ api.putTemplate = ca({
|
|||||||
method: 'PUT'
|
method: 'PUT'
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
|
||||||
* Perform a [renderSearchTemplate](http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html) request
|
|
||||||
*
|
|
||||||
* @param {Object} params - An object with parameters used to carry out this action
|
|
||||||
* @param {String} params.id - The id of the stored search template
|
|
||||||
*/
|
|
||||||
api.renderSearchTemplate = ca({
|
|
||||||
urls: [
|
|
||||||
{
|
|
||||||
fmt: '/_render/template/<%=id%>',
|
|
||||||
req: {
|
|
||||||
id: {
|
|
||||||
type: 'string'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fmt: '/_render/template'
|
|
||||||
}
|
|
||||||
],
|
|
||||||
method: 'POST'
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Perform a [scroll](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html) request
|
* Perform a [scroll](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html) request
|
||||||
*
|
*
|
||||||
@ -4994,7 +4977,7 @@ api.scroll = ca({
|
|||||||
* @param {Date, Number} params.timeout - Explicit operation timeout
|
* @param {Date, Number} params.timeout - Explicit operation timeout
|
||||||
* @param {Boolean} params.trackScores - Whether to calculate and return scores even if they are not used for sorting
|
* @param {Boolean} params.trackScores - Whether to calculate and return scores even if they are not used for sorting
|
||||||
* @param {Boolean} params.version - Specify whether to return document version as part of a hit
|
* @param {Boolean} params.version - Specify whether to return document version as part of a hit
|
||||||
* @param {Boolean} params.requestCache - Specify if request cache should be used for this request or not, defaults to index level setting
|
* @param {Boolean} params.queryCache - Specify if query cache should be used for this request or not, defaults to index level setting
|
||||||
* @param {String, String[], 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 {String, String[], 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 {String, String[], Boolean} params.type - A comma-separated list of document types to search; leave empty to perform the operation on all types
|
* @param {String, String[], Boolean} params.type - A comma-separated list of document types to search; leave empty to perform the operation on all types
|
||||||
*/
|
*/
|
||||||
@ -5136,9 +5119,9 @@ api.search = ca({
|
|||||||
version: {
|
version: {
|
||||||
type: 'boolean'
|
type: 'boolean'
|
||||||
},
|
},
|
||||||
requestCache: {
|
queryCache: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
name: 'request_cache'
|
name: 'query_cache'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
urls: [
|
urls: [
|
||||||
@ -5454,7 +5437,17 @@ api.snapshot.prototype.create = ca({
|
|||||||
name: 'wait_for_completion'
|
name: 'wait_for_completion'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: {},
|
url: {
|
||||||
|
fmt: '/_snapshot/<%=repository%>/<%=snapshot%>/_create',
|
||||||
|
req: {
|
||||||
|
repository: {
|
||||||
|
type: 'string'
|
||||||
|
},
|
||||||
|
snapshot: {
|
||||||
|
type: 'string'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user