[api] regenerate
This commit is contained in:
@ -66,6 +66,8 @@ Options:::
|
||||
`String` -- Default document type for items which don't provide one
|
||||
`index`::
|
||||
`String` -- Default index for items which don't provide one
|
||||
`body`::
|
||||
`Object[], JSONLines` -- The request body, as either an array of objects or new-line delimited JSON objects. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-bulk.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -89,6 +91,8 @@ The default method is `DELETE` and the usual <<api-conventions,params and return
|
||||
[horizontal]
|
||||
`scrollId`::
|
||||
`String, String[], Boolean` -- A comma-separated list of scroll IDs to clear
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-request-scroll.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -189,6 +193,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of indices to restrict the results
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of types to restrict the results
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-count.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -246,6 +252,8 @@ Options:::
|
||||
`String` -- The type of the document being count percolated.
|
||||
`id`::
|
||||
`String` -- Substitute the document in the request body with a document that is known by the specified id. On top of the id, the index and type parameter will be used to retrieve the document from within the cluster.
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-percolate.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -325,6 +333,8 @@ Options:::
|
||||
`String` -- The name of the index
|
||||
`type`::
|
||||
`String` -- The type of the document
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-index_.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -393,6 +403,8 @@ Options:::
|
||||
`String` -- The name of the index
|
||||
`type`::
|
||||
`String` -- The type of the document
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-delete.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -483,6 +495,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of indices to restrict the operation; use `_all` to perform the operation on all indices
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of types to restrict the operation
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-delete-by-query.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -518,6 +532,8 @@ Options:::
|
||||
`String` -- Script ID
|
||||
`lang`::
|
||||
`String` -- Script language
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/modules-scripting.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -551,6 +567,8 @@ Options:::
|
||||
|
||||
`id`::
|
||||
`String` -- Template ID
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/search-template.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -602,6 +620,8 @@ client.exists({
|
||||
`String` -- The name of the index
|
||||
`type`::
|
||||
`String` -- The type of the document (use `_all` to fetch the first document matching the ID across all types)
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-get.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -692,6 +712,8 @@ Options:::
|
||||
`String` -- The name of the index
|
||||
`type`::
|
||||
`String` -- The type of the document
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-explain.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -735,6 +757,8 @@ Options:::
|
||||
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/search-field-stats.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1010,6 +1034,8 @@ Options:::
|
||||
`String` -- The name of the index
|
||||
`type`::
|
||||
`String` -- The type of the document
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-index_.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1093,6 +1119,8 @@ client.mget({
|
||||
`String` -- The name of the index
|
||||
`type`::
|
||||
`String` -- The type of the document
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-multi-get.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1167,6 +1195,8 @@ client.mlt({
|
||||
`String` -- The name of the index
|
||||
`type`::
|
||||
`String` -- The type of the document (use `_all` to fetch the first document matching the ID across all types)
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-more-like-this.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1204,6 +1234,8 @@ Options:::
|
||||
`String` -- The index of the document being count percolated to use as default
|
||||
`type`::
|
||||
`String` -- The type of the document being percolated to use as default.
|
||||
`body`::
|
||||
`Object[], JSONLines` -- The request body, as either an array of objects or new-line delimited JSON objects. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-percolate.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1254,6 +1286,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names to use as default
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of document types to use as default
|
||||
`body`::
|
||||
`Object[], JSONLines` -- The request body, as either an array of objects or new-line delimited JSON objects. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-multi-search.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1301,6 +1335,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
||||
`String` -- The index in which the document resides.
|
||||
`type`::
|
||||
`String` -- The type of the document.
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-multi-termvectors.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1440,6 +1476,8 @@ Options:::
|
||||
`String` -- The type of the document being percolated.
|
||||
`id`::
|
||||
`String` -- Substitute the document in the request body with a document that is known by the specified id. On top of the id, the index and type parameter will be used to retrieve the document from within the cluster.
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-percolate.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1497,6 +1535,8 @@ Options:::
|
||||
`String` -- Script ID
|
||||
`lang`::
|
||||
`String` -- Script language
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/modules-scripting.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1536,6 +1576,8 @@ Options:::
|
||||
|
||||
`id`::
|
||||
`String` -- Template ID
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/search-template.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1591,6 +1633,8 @@ client.search({
|
||||
`DurationString` -- Specify how long a consistent view of the index should be maintained for scrolled search
|
||||
`scrollId`::
|
||||
`String` -- The scroll ID
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-request-scroll.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1740,6 +1784,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of document types to search; leave empty to perform the operation on all types
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-search.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1801,6 +1847,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of indices to restrict the results
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of types to restrict the results
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/search-exists.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1844,6 +1892,8 @@ Options:::
|
||||
`String` -- The name of the index
|
||||
`type`::
|
||||
`String` -- The type of the document
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/search-shards.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1897,6 +1947,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of document types to search; leave empty to perform the operation on all types
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -1969,6 +2021,8 @@ Options:::
|
||||
`String` -- Specific routing value
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names to restrict the operation; use `_all` or empty string to perform the operation on all indices
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-suggesters.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -2016,6 +2070,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
||||
`String` -- The type of the document.
|
||||
`id`::
|
||||
`String` -- The id of the document.
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-termvectors.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -2159,6 +2215,8 @@ Options:::
|
||||
`String` -- The name of the index
|
||||
`type`::
|
||||
`String` -- The type of the document
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/docs-update.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -2792,6 +2850,8 @@ The default method is `PUT` and the usual <<api-conventions,params and return va
|
||||
`DurationString` -- Explicit operation timeout for connection to master node
|
||||
`timeout`::
|
||||
`DurationString` -- Explicit operation timeout
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/cluster-update-settings.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -2823,6 +2883,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
||||
`DurationString` -- Explicit operation timeout for connection to master node
|
||||
`timeout`::
|
||||
`DurationString` -- Explicit operation timeout
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/cluster-reroute.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -2938,6 +3000,8 @@ Options:::
|
||||
* `"detailed"`
|
||||
* `"text"`
|
||||
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-analyze.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -2993,6 +3057,8 @@ Options:::
|
||||
`Boolean` -- Clear the recycler cache
|
||||
`queryCache`::
|
||||
`Boolean` -- Clear query cache
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-clearcache.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3033,6 +3099,8 @@ Options:::
|
||||
|
||||
`index`::
|
||||
`String` -- The name of the index
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-open-close.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3060,6 +3128,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
||||
`DurationString` -- Specify timeout for connection to master
|
||||
`index`::
|
||||
`String` -- The name of the index
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-create-index.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3087,6 +3157,8 @@ The default method is `DELETE` and the usual <<api-conventions,params and return
|
||||
`DurationString` -- Specify timeout for connection to master
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-delete-index.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3116,6 +3188,8 @@ The default method is `DELETE` and the usual <<api-conventions,params and return
|
||||
`String, String[], Boolean` -- A comma-separated list of index names (supports wildcards); use `_all` for all indices
|
||||
`name`::
|
||||
`String, String[], Boolean` -- A comma-separated list of aliases to delete (supports wildcards); use `_all` to delete all aliases for the specified indices.
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-aliases.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3143,6 +3217,8 @@ The default method is `DELETE` and the usual <<api-conventions,params and return
|
||||
`String, String[], Boolean` -- A comma-separated list of index names (supports wildcards); use `_all` for all indices
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of document types to delete (supports wildcards); use `_all` to delete all document types in the specified indices.
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-delete-mapping.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3170,6 +3246,8 @@ The default method is `DELETE` and the usual <<api-conventions,params and return
|
||||
`DurationString` -- Specify timeout for connection to master
|
||||
`name`::
|
||||
`String` -- The name of the template
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-templates.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3197,6 +3275,8 @@ The default method is `DELETE` and the usual <<api-conventions,params and return
|
||||
`String, String[], Boolean` -- A comma-separated list of warmer names to delete (supports wildcards); use `_all` to delete all warmers in the specified indices. You must specify a name either in the uri or in the parameters.
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names to delete warmers from (supports wildcards); use `_all` to perform the operation on all indices.
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-warmers.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3234,6 +3314,8 @@ Options:::
|
||||
`Boolean` -- Return local information, do not retrieve the state from master node (default: false)
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of indices to check
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-exists.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3273,6 +3355,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names to filter aliases
|
||||
`name`::
|
||||
`String, String[], Boolean` -- A comma-separated list of alias names to return
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-aliases.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3300,6 +3384,8 @@ The default method is `HEAD` and the usual <<api-conventions,params and return v
|
||||
`Boolean` -- Return local information, do not retrieve the state from master node (default: false)
|
||||
`name`::
|
||||
`String` -- The name of the template
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-templates.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3339,6 +3425,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names; use `_all` to check the types across all indices
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of document types to check
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-types-exists.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3378,6 +3466,8 @@ Options:::
|
||||
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names; use `_all` or empty string for all indices
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-flush.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3413,6 +3503,8 @@ Options:::
|
||||
* `"none"`
|
||||
* `"all"`
|
||||
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/indices-synced-flush.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3789,6 +3881,8 @@ Options:::
|
||||
|
||||
`index`::
|
||||
`String` -- The name of the index
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-open-close.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3836,6 +3930,8 @@ Options:::
|
||||
`Boolean` -- Force a merge operation to run, even if there is a single segment in the index (default: false)
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-optimize.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3865,6 +3961,8 @@ The default method is `PUT` and the usual <<api-conventions,params and return va
|
||||
`String, String[], Boolean` -- A comma-separated list of index names the alias should point to (supports wildcards); use `_all` to perform the operation on all indices.
|
||||
`name`::
|
||||
`String` -- The name of the alias to be created or updated
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-aliases.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3908,6 +4006,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices.
|
||||
`type`::
|
||||
`String` -- The name of the document type
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-put-mapping.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3947,6 +4047,8 @@ Options:::
|
||||
`Boolean` -- Return settings in flat format (default: false)
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-update-settings.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -3980,6 +4082,8 @@ The default method is `PUT` and the usual <<api-conventions,params and return va
|
||||
`Boolean` -- Return settings in flat format (default: false)
|
||||
`name`::
|
||||
`String` -- The name of the template
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-templates.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4021,6 +4125,8 @@ Options:::
|
||||
`String` -- The name of the warmer
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of document types to register the warmer for; leave empty to perform the operation on all types
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-warmers.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4089,6 +4195,8 @@ Options:::
|
||||
`Anything` -- TODO: ?
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-refresh.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4253,6 +4361,8 @@ client.indices.updateAliases({
|
||||
`DurationString` -- Request timeout
|
||||
`masterTimeout`::
|
||||
`DurationString` -- Specify timeout for connection to master
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/indices-aliases.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4292,6 +4402,8 @@ Options:::
|
||||
`Boolean` -- If true, only ancient (an older Lucene major release) segments will be upgraded
|
||||
`index`::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/indices-upgrade.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4353,6 +4465,8 @@ Options:::
|
||||
`String, String[], Boolean` -- A comma-separated list of index names to restrict the operation; use `_all` or empty string to perform the operation on all indices
|
||||
`type`::
|
||||
`String, String[], Boolean` -- A comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/search-validate.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4451,6 +4565,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
||||
`Boolean` -- Exit the JVM as well (default: true)
|
||||
`nodeId`::
|
||||
`String, String[], Boolean` -- A comma-separated list of node IDs or names to perform the operation on; use `_local` to perform the operation on the node you're connected to, leave empty to perform the operation on all nodes
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/cluster-nodes-shutdown.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4528,6 +4644,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
||||
`String` -- A repository name
|
||||
`snapshot`::
|
||||
`String` -- A snapshot name
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/modules-snapshots.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4557,6 +4675,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
||||
`Boolean` -- Whether to verify the repository after creation
|
||||
`repository`::
|
||||
`String` -- A repository name
|
||||
`body`::
|
||||
`Object, JSON` -- The request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/modules-snapshots.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4584,6 +4704,8 @@ The default method is `DELETE` and the usual <<api-conventions,params and return
|
||||
`String` -- A repository name
|
||||
`snapshot`::
|
||||
`String` -- A snapshot name
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/modules-snapshots.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4611,6 +4733,8 @@ The default method is `DELETE` and the usual <<api-conventions,params and return
|
||||
`DurationString` -- Explicit operation timeout
|
||||
`repository`::
|
||||
`String, String[], Boolean` -- A comma-separated list of repository names
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/modules-snapshots.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4694,6 +4818,8 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
||||
`String` -- A repository name
|
||||
`snapshot`::
|
||||
`String` -- A snapshot name
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.6/modules-snapshots.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
@ -4748,5 +4874,7 @@ The default method is `POST` and the usual <<api-conventions,params and return v
|
||||
`DurationString` -- Explicit operation timeout
|
||||
`repository`::
|
||||
`String` -- A repository name
|
||||
`body`::
|
||||
`Object, JSON` -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/1.7/modules-snapshots.html[the elasticsearch docs] for details about what can be specified here.
|
||||
|
||||
link:#[back to top]
|
||||
|
||||
Reference in New Issue
Block a user