From 4fed4599bdf05942d5376f4af6799b933841fefc Mon Sep 17 00:00:00 2001 From: spalger Date: Fri, 20 May 2016 13:41:08 -0700 Subject: [PATCH] [apis] regenerate --- docs/api_methods.asciidoc | 220 +++++++++++++++++++------------------- src/lib/apis/2_3.js | 220 +++++++++++++++++++------------------- src/lib/apis/master.js | 15 ++- 3 files changed, 230 insertions(+), 225 deletions(-) diff --git a/docs/api_methods.asciidoc b/docs/api_methods.asciidoc index ae7c806f9..6a4107dbd 100644 --- a/docs/api_methods.asciidoc +++ b/docs/api_methods.asciidoc @@ -15,7 +15,7 @@ client.bulk([params, [callback]]) Perform many index/delete operations in a single API call. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-bulk.html[the elasticsearch docs] for more about this method. .Perform three operations in a single request [source,js] @@ -75,7 +75,7 @@ client.clearScroll([params, [callback]]) Clear the scroll request created by specifying the scroll parameter to search. -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-request-scroll.html[the elasticsearch docs] for more about this method. // no examples @@ -98,7 +98,7 @@ client.count([params, [callback]]) Get the number of documents for the cluster, index, type, or a query. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-count.html[the elasticsearch docs] for more about this method. .Get the number of all documents in the cluster [source,js] @@ -198,7 +198,7 @@ client.countPercolate([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-percolate.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-percolate.html[the elasticsearch docs] for more about this method. // no examples @@ -255,7 +255,7 @@ client.create([params, [callback]]) Adds a typed JSON document in a specific index, making it searchable. If a document with the same `index`, `type`, and `id` already exists, an error will occur. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-index_.html[the elasticsearch docs] for more about this method. .Create a document [source,js] @@ -328,7 +328,7 @@ client.delete([params, [callback]]) Delete a typed JSON document from a specific index based on its id. -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-delete.html[the elasticsearch docs] for more about this method. .Delete the document `/myindex/mytype/1` [source,js] @@ -390,7 +390,7 @@ client.deleteScript([params, [callback]]) // no description -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-scripting.html[the elasticsearch docs] for more about this method. // no examples @@ -425,7 +425,7 @@ client.deleteTemplate([params, [callback]]) // no description -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-template.html[the elasticsearch docs] for more about this method. // no examples @@ -458,7 +458,7 @@ client.exists([params, [callback]]) Returns a boolean indicating whether or not a given document exists. -The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html[the elasticsearch docs] for more about this method. +The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-get.html[the elasticsearch docs] for more about this method. .Check that the document `/myindex/mytype/1` exist [source,js] @@ -509,7 +509,7 @@ client.explain([params, [callback]]) Provides details about a specific document's score in relation to a specific query. It will also tell you if the document matches the specified query. Also check out http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-percolate.html[percolaters]. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-explain.html[the elasticsearch docs] for more about this method. .See how a document is scored against a simple query [source,js] @@ -599,7 +599,7 @@ client.fieldStats([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-field-stats.html[the elasticsearch docs] for more about this method. // no examples @@ -642,7 +642,7 @@ client.get([params, [callback]]) Get a typed JSON document from the index based on its id. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-get.html[the elasticsearch docs] for more about this method. .Get `/myindex/mytype/1` [source,js] @@ -707,7 +707,7 @@ client.getScript([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-scripting.html[the elasticsearch docs] for more about this method. // no examples @@ -743,7 +743,7 @@ client.getSource([params, [callback]]) Get the source of a document by its index, type and id. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-get.html[the elasticsearch docs] for more about this method. // no examples @@ -796,7 +796,7 @@ client.getTemplate([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-template.html[the elasticsearch docs] for more about this method. // no examples @@ -834,7 +834,7 @@ Optimistic concurrency control is performed, when the `version` argument is spec By default, the document will be available for `get()` actions immediately, but will only be available for searching after an index refresh (which can happen automatically or manually). See <>. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-index_.html[the elasticsearch docs] for more about this method. .Create or update a document [source,js] @@ -921,7 +921,7 @@ client.mget([params, [callback]]) Get multiple documents based on an index, type (optional) and ids. The body required by mget can take two forms: an array of document locations, or an array of document ids. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-multi-get.html[the elasticsearch docs] for more about this method. .An array of doc locations. Useful for getting documents from different indices. [source,js] @@ -988,7 +988,7 @@ client.mpercolate([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-percolate.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-percolate.html[the elasticsearch docs] for more about this method. // no examples @@ -1025,7 +1025,7 @@ client.msearch([params, [callback]]) Execute several search requests within the same request. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-multi-search.html[the elasticsearch docs] for more about this method. .Perform multiple different searches, the body is made up of meta/data pairs [source,js] @@ -1075,7 +1075,7 @@ client.mtermvectors([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-multi-termvectors.html[the elasticsearch docs] for more about this method. // no examples @@ -1132,7 +1132,7 @@ client.percolate([params, [callback]]) Match a document against registered percolator queries. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-percolate.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-percolate.html[the elasticsearch docs] for more about this method. .First, Register queries named “alert-1” and “alert-2” for the “myindex” index [source,js] @@ -1287,7 +1287,7 @@ client.putScript([params, [callback]]) // no description -The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html[the elasticsearch docs] for more about this method. +The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-scripting.html[the elasticsearch docs] for more about this method. // no examples @@ -1328,7 +1328,7 @@ client.putTemplate([params, [callback]]) // no description -The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html[the elasticsearch docs] for more about this method. +The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-template.html[the elasticsearch docs] for more about this method. // no examples @@ -1367,7 +1367,7 @@ client.reindex([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See https://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-reindex.html[the elasticsearch docs] for more about this method. // no examples @@ -1401,7 +1401,7 @@ client.renderSearchTemplate([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elasticsearch.org/guide/en/elasticsearch/reference/2.3/search-template.html[the elasticsearch docs] for more about this method. // no examples @@ -1424,7 +1424,7 @@ client.scroll([params, [callback]]) Scroll a search request (retrieve the next set of results) after specifying the scroll parameter in a `search()` call. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-request-scroll.html[the elasticsearch docs] for more about this method. .Collect every title in the index that contains the word "test" [source,js] @@ -1483,7 +1483,7 @@ TIP: https://github.com/fullscale/elastic.js[elastic.js], https://github.com/hol -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-search.html[the elasticsearch docs] for more about this method. .Search with a simple query string query [source,js] @@ -1628,7 +1628,7 @@ client.searchExists([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-exists.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-exists.html[the elasticsearch docs] for more about this method. // no examples @@ -1689,7 +1689,7 @@ client.searchShards([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-shards.html[the elasticsearch docs] for more about this method. // no examples @@ -1785,7 +1785,7 @@ client.suggest([params, [callback]]) The suggest feature suggests similar looking terms based on a provided text by using a specific suggester. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-suggesters.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-suggesters.html[the elasticsearch docs] for more about this method. .Return query terms suggestions (“auto-correction”) [source,js] @@ -1857,7 +1857,7 @@ client.termvectors([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-termvectors.html[the elasticsearch docs] for more about this method. // no examples @@ -1919,7 +1919,7 @@ Update parts of a document. The required body parameter can contain one of two t * a partial document, which will be merged with the existing one. * a `script` which will update the document content -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-update.html[the elasticsearch docs] for more about this method. .Update document title using partial document [source,js] @@ -2053,7 +2053,7 @@ client.updateByQuery([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See https://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-update-by-query.html[the elasticsearch docs] for more about this method. // no examples @@ -2219,7 +2219,7 @@ client.cat.allocation([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-allocation.html[the elasticsearch docs] for more about this method. // no examples @@ -2260,7 +2260,7 @@ client.cat.count([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-count.html[the elasticsearch docs] for more about this method. // no examples @@ -2293,7 +2293,7 @@ client.cat.fielddata([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-fielddata.html[the elasticsearch docs] for more about this method. // no examples @@ -2334,7 +2334,7 @@ client.cat.health([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-health.html[the elasticsearch docs] for more about this method. // no examples @@ -2367,7 +2367,7 @@ client.cat.help([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat.html[the elasticsearch docs] for more about this method. // no examples @@ -2390,7 +2390,7 @@ client.cat.indices([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-indices.html[the elasticsearch docs] for more about this method. // no examples @@ -2433,7 +2433,7 @@ client.cat.master([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-master.html[the elasticsearch docs] for more about this method. // no examples @@ -2464,7 +2464,7 @@ client.cat.nodeattrs([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-nodeattrs.html[the elasticsearch docs] for more about this method. // no examples @@ -2495,7 +2495,7 @@ client.cat.nodes([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-nodes.html[the elasticsearch docs] for more about this method. // no examples @@ -2526,7 +2526,7 @@ client.cat.pendingTasks([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-pending-tasks.html[the elasticsearch docs] for more about this method. // no examples @@ -2557,7 +2557,7 @@ client.cat.plugins([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-plugins.html[the elasticsearch docs] for more about this method. // no examples @@ -2588,7 +2588,7 @@ client.cat.recovery([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-recovery.html[the elasticsearch docs] for more about this method. // no examples @@ -2627,7 +2627,7 @@ client.cat.repositories([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-repositories.html[the elasticsearch docs] for more about this method. // no examples @@ -2658,7 +2658,7 @@ client.cat.segments([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-segments.html[the elasticsearch docs] for more about this method. // no examples @@ -2687,7 +2687,7 @@ client.cat.shards([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-shards.html[the elasticsearch docs] for more about this method. // no examples @@ -2720,7 +2720,7 @@ client.cat.snapshots([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -2753,7 +2753,7 @@ client.cat.threadPool([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-thread-pool.html[the elasticsearch docs] for more about this method. // no examples @@ -2786,7 +2786,7 @@ client.cluster.getSettings([params, [callback]]) Get cluster settings (previously set with `putSettings()`) -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-update-settings.html[the elasticsearch docs] for more about this method. // no examples @@ -2813,7 +2813,7 @@ client.cluster.health([params, [callback]]) Get a very simple status on the health of the cluster. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-health.html[the elasticsearch docs] for more about this method. // no examples @@ -2862,7 +2862,7 @@ client.cluster.pendingTasks([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-pending.html[the elasticsearch docs] for more about this method. // no examples @@ -2887,7 +2887,7 @@ client.cluster.putSettings([params, [callback]]) Update cluster wide specific settings. -The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html[the elasticsearch docs] for more about this method. +The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-update-settings.html[the elasticsearch docs] for more about this method. // no examples @@ -2914,7 +2914,7 @@ client.cluster.reroute([params, [callback]]) Explicitly execute a cluster reroute allocation command including specific commands. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-reroute.html[the elasticsearch docs] for more about this method. // no examples @@ -2945,7 +2945,7 @@ client.cluster.state([params, [callback]]) Get comprehensive details about the state of the whole cluster (indices settings, allocations, etc). -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-state.html[the elasticsearch docs] for more about this method. // no examples @@ -2988,7 +2988,7 @@ client.cluster.stats([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-stats.html[the elasticsearch docs] for more about this method. // no examples @@ -3017,7 +3017,7 @@ client.indices.analyze([params, [callback]]) Perform the analysis process on a text and return the tokens breakdown of the text. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-analyze.html[the elasticsearch docs] for more about this method. // no examples @@ -3068,7 +3068,7 @@ client.indices.clearCache([params, [callback]]) Clear either all caches or specific cached associated with one ore more indices. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-clearcache.html[the elasticsearch docs] for more about this method. // no examples @@ -3116,7 +3116,7 @@ client.indices.close([params, [callback]]) Close an index to remove its overhead from the cluster. Closed index is blocked for read/write operations. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-open-close.html[the elasticsearch docs] for more about this method. // no examples @@ -3155,7 +3155,7 @@ client.indices.create([params, [callback]]) Create an index in Elasticsearch. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-create-index.html[the elasticsearch docs] for more about this method. // no examples @@ -3184,7 +3184,7 @@ client.indices.delete([params, [callback]]) Delete an index in Elasticsearch -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-delete-index.html[the elasticsearch docs] for more about this method. // no examples @@ -3211,7 +3211,7 @@ client.indices.deleteAlias([params, [callback]]) Delete a specific alias. -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html[the elasticsearch docs] for more about this method. // no examples @@ -3240,7 +3240,7 @@ client.indices.deleteTemplate([params, [callback]]) Delete an index template by its name. -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-templates.html[the elasticsearch docs] for more about this method. // no examples @@ -3267,7 +3267,7 @@ client.indices.deleteWarmer([params, [callback]]) Delete an index warmer. -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-warmers.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-warmers.html[the elasticsearch docs] for more about this method. // no examples @@ -3294,7 +3294,7 @@ client.indices.exists([params, [callback]]) Return a boolean indicating whether given index exists. -The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html[the elasticsearch docs] for more about this method. +The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-exists.html[the elasticsearch docs] for more about this method. // no examples @@ -3331,7 +3331,7 @@ client.indices.existsAlias([params, [callback]]) Return a boolean indicating whether given alias exists. -The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html[the elasticsearch docs] for more about this method. +The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html[the elasticsearch docs] for more about this method. // no examples @@ -3370,7 +3370,7 @@ client.indices.existsTemplate([params, [callback]]) // no description -The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html[the elasticsearch docs] for more about this method. +The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-templates.html[the elasticsearch docs] for more about this method. // no examples @@ -3397,7 +3397,7 @@ client.indices.existsType([params, [callback]]) Check if a type/types exists in an index/indices. -The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html[the elasticsearch docs] for more about this method. +The default method is `HEAD` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-types-exists.html[the elasticsearch docs] for more about this method. // no examples @@ -3436,7 +3436,7 @@ client.indices.flush([params, [callback]]) Explicitly flush one or more indices. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-flush.html[the elasticsearch docs] for more about this method. // no examples @@ -3475,7 +3475,7 @@ client.indices.flushSynced([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-synced-flush.html[the elasticsearch docs] for more about this method. // no examples @@ -3510,7 +3510,7 @@ client.indices.forcemerge([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-forcemerge.html[the elasticsearch docs] for more about this method. // no examples @@ -3555,7 +3555,7 @@ client.indices.get([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-get-index.html[the elasticsearch docs] for more about this method. // no examples @@ -3598,7 +3598,7 @@ client.indices.getAlias([params, [callback]]) Retrieve a specified alias. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html[the elasticsearch docs] for more about this method. // no examples @@ -3637,7 +3637,7 @@ client.indices.getAliases([params, [callback]]) Retrieve specified aliases -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html[the elasticsearch docs] for more about this method. // no examples @@ -3666,7 +3666,7 @@ client.indices.getFieldMapping([params, [callback]]) Retrieve mapping definition of a specific field. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-get-field-mapping.html[the elasticsearch docs] for more about this method. // no examples @@ -3709,7 +3709,7 @@ client.indices.getMapping([params, [callback]]) Retrieve mapping definition of index or index/type. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-get-mapping.html[the elasticsearch docs] for more about this method. // no examples @@ -3748,7 +3748,7 @@ client.indices.getSettings([params, [callback]]) Retrieve settings for one or more (or all) indices. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-get-settings.html[the elasticsearch docs] for more about this method. // no examples @@ -3791,7 +3791,7 @@ client.indices.getTemplate([params, [callback]]) Retrieve an index template by its name. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-templates.html[the elasticsearch docs] for more about this method. // no examples @@ -3820,7 +3820,7 @@ client.indices.getUpgrade([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-upgrade.html[the elasticsearch docs] for more about this method. // no examples @@ -3857,7 +3857,7 @@ client.indices.getWarmer([params, [callback]]) Retreieve an index warmer. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-warmers.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-warmers.html[the elasticsearch docs] for more about this method. // no examples @@ -3898,7 +3898,7 @@ client.indices.open([params, [callback]]) Open a closed index, making it available for search. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-open-close.html[the elasticsearch docs] for more about this method. // no examples @@ -3937,7 +3937,7 @@ client.indices.optimize([params, [callback]]) Explicitly optimize one or more indices. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-optimize.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-optimize.html[the elasticsearch docs] for more about this method. // no examples @@ -3982,7 +3982,7 @@ client.indices.putAlias([params, [callback]]) Create an alias for a specific index/indices. -The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html[the elasticsearch docs] for more about this method. +The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html[the elasticsearch docs] for more about this method. // no examples @@ -4011,7 +4011,7 @@ client.indices.putMapping([params, [callback]]) Register specific mapping definition for a specific type. -The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html[the elasticsearch docs] for more about this method. +The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-put-mapping.html[the elasticsearch docs] for more about this method. // no examples @@ -4054,7 +4054,7 @@ client.indices.putSettings([params, [callback]]) Change specific index level settings in real time. -The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html[the elasticsearch docs] for more about this method. +The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-update-settings.html[the elasticsearch docs] for more about this method. // no examples @@ -4093,7 +4093,7 @@ client.indices.putTemplate([params, [callback]]) Create an index template that will automatically be applied to new indices created. -The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html[the elasticsearch docs] for more about this method. +The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-templates.html[the elasticsearch docs] for more about this method. // no examples @@ -4126,7 +4126,7 @@ client.indices.putWarmer([params, [callback]]) Create an index warmer to run registered search requests to warm up the index before it is available for search. -The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-warmers.html[the elasticsearch docs] for more about this method. +The default method is `PUT` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-warmers.html[the elasticsearch docs] for more about this method. // no examples @@ -4169,7 +4169,7 @@ client.indices.recovery([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-recovery.html[the elasticsearch docs] for more about this method. // no examples @@ -4198,7 +4198,7 @@ client.indices.refresh([params, [callback]]) Explicitly refresh one or more index, making all operations performed since the last refresh available for search. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-refresh.html[the elasticsearch docs] for more about this method. // no examples @@ -4237,7 +4237,7 @@ client.indices.segments([params, [callback]]) Retrieve low level segments information that a Lucene index (shard level) is built with. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-segments.html[the elasticsearch docs] for more about this method. // no examples @@ -4278,7 +4278,7 @@ client.indices.shardStores([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-shards-stores.html[the elasticsearch docs] for more about this method. // no examples @@ -4317,7 +4317,7 @@ client.indices.stats([params, [callback]]) Retrieve statistics on different operations happening on an index. -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-stats.html[the elasticsearch docs] for more about this method. // no examples @@ -4361,7 +4361,7 @@ client.indices.updateAliases([params, [callback]]) Update specified aliases. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html[the elasticsearch docs] for more about this method. .Perform an atomic alias swap, for a rotating index [source,js] @@ -4399,7 +4399,7 @@ client.indices.upgrade([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-upgrade.html[the elasticsearch docs] for more about this method. // no examples @@ -4438,7 +4438,7 @@ client.indices.validateQuery([params, [callback]]) Validate a potentially expensive query without executing it. -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-validate.html[the elasticsearch docs] for more about this method. // no examples @@ -4499,7 +4499,7 @@ client.nodes.hotThreads([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-nodes-hot-threads.html[the elasticsearch docs] for more about this method. // no examples @@ -4539,7 +4539,7 @@ client.nodes.info([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-nodes-info.html[the elasticsearch docs] for more about this method. // no examples @@ -4570,7 +4570,7 @@ client.nodes.stats([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-nodes-stats.html[the elasticsearch docs] for more about this method. // no examples @@ -4618,7 +4618,7 @@ client.snapshot.create([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -4647,7 +4647,7 @@ client.snapshot.createRepository([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -4676,7 +4676,7 @@ client.snapshot.delete([params, [callback]]) // no description -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -4703,7 +4703,7 @@ client.snapshot.deleteRepository([params, [callback]]) // no description -The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `DELETE` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -4730,7 +4730,7 @@ client.snapshot.get([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -4757,7 +4757,7 @@ client.snapshot.getRepository([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -4784,7 +4784,7 @@ client.snapshot.restore([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -4813,7 +4813,7 @@ client.snapshot.status([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -4840,7 +4840,7 @@ client.snapshot.verifyRepository([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html[the elasticsearch docs] for more about this method. // no examples @@ -4867,7 +4867,7 @@ client.tasks.cancel([params, [callback]]) // no description -The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks-cancel.html[the elasticsearch docs] for more about this method. +The default method is `POST` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/tasks.html[the elasticsearch docs] for more about this method. // no examples @@ -4898,7 +4898,7 @@ client.tasks.list([params, [callback]]) // no description -The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks-list.html[the elasticsearch docs] for more about this method. +The default method is `GET` and the usual <> apply. See http://www.elastic.co/guide/en/elasticsearch/reference/2.3/tasks.html[the elasticsearch docs] for more about this method. // no examples diff --git a/src/lib/apis/2_3.js b/src/lib/apis/2_3.js index 980ae6b63..2fbb331c4 100644 --- a/src/lib/apis/2_3.js +++ b/src/lib/apis/2_3.js @@ -14,7 +14,7 @@ var api = module.exports = {}; api._namespaces = ['cat', 'cluster', 'indices', 'nodes', 'snapshot', 'tasks']; /** - * Perform a [bulk](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html) request + * Perform a [bulk](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-bulk.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.consistency - Explicit write consistency setting for the operation @@ -130,7 +130,7 @@ api.cat.prototype.aliases = ca({ }); /** - * Perform a [cat.allocation](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html) request + * Perform a [cat.allocation](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-allocation.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.bytes - The unit in which to display byte values @@ -187,7 +187,7 @@ api.cat.prototype.allocation = ca({ }); /** - * Perform a [cat.count](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html) request + * Perform a [cat.count](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-count.html) request * * @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) @@ -234,7 +234,7 @@ api.cat.prototype.count = ca({ }); /** - * Perform a [cat.fielddata](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html) request + * Perform a [cat.fielddata](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-fielddata.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.bytes - The unit in which to display byte values @@ -294,7 +294,7 @@ api.cat.prototype.fielddata = ca({ }); /** - * Perform a [cat.health](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html) request + * Perform a [cat.health](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-health.html) request * * @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) @@ -335,7 +335,7 @@ api.cat.prototype.health = ca({ }); /** - * Perform a [cat.help](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html) request + * Perform a [cat.help](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.help - Return help information @@ -353,7 +353,7 @@ api.cat.prototype.help = ca({ }); /** - * Perform a [cat.indices](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html) request + * Perform a [cat.indices](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-indices.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.bytes - The unit in which to display byte values @@ -415,7 +415,7 @@ api.cat.prototype.indices = ca({ }); /** - * Perform a [cat.master](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html) request + * Perform a [cat.master](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-master.html) request * * @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) @@ -451,7 +451,7 @@ api.cat.prototype.master = ca({ }); /** - * Perform a [cat.nodeattrs](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html) request + * Perform a [cat.nodeattrs](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-nodeattrs.html) request * * @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) @@ -487,7 +487,7 @@ api.cat.prototype.nodeattrs = ca({ }); /** - * Perform a [cat.nodes](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html) request + * Perform a [cat.nodes](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-nodes.html) request * * @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) @@ -523,7 +523,7 @@ api.cat.prototype.nodes = ca({ }); /** - * Perform a [cat.pendingTasks](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html) request + * Perform a [cat.pendingTasks](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-pending-tasks.html) request * * @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) @@ -559,7 +559,7 @@ api.cat.prototype.pendingTasks = ca({ }); /** - * Perform a [cat.plugins](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html) request + * Perform a [cat.plugins](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-plugins.html) request * * @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) @@ -595,7 +595,7 @@ api.cat.prototype.plugins = ca({ }); /** - * Perform a [cat.recovery](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html) request + * Perform a [cat.recovery](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-recovery.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.bytes - The unit in which to display byte values @@ -648,7 +648,7 @@ api.cat.prototype.recovery = ca({ }); /** - * Perform a [cat.repositories](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html) request + * Perform a [cat.repositories](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-repositories.html) request * * @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 @@ -685,7 +685,7 @@ api.cat.prototype.repositories = ca({ }); /** - * Perform a [cat.segments](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html) request + * Perform a [cat.segments](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-segments.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.h - Comma-separated list of column names to display @@ -723,7 +723,7 @@ api.cat.prototype.segments = ca({ }); /** - * Perform a [cat.shards](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html) request + * Perform a [cat.shards](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-shards.html) request * * @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) @@ -770,7 +770,7 @@ api.cat.prototype.shards = ca({ }); /** - * Perform a [cat.snapshots](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html) request + * Perform a [cat.snapshots](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Set to true to ignore unavailable snapshots @@ -814,7 +814,7 @@ api.cat.prototype.snapshots = ca({ }); /** - * Perform a [cat.threadPool](http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html) request + * Perform a [cat.threadPool](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cat-thread-pool.html) request * * @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) @@ -856,7 +856,7 @@ api.cat.prototype.threadPool = ca({ }); /** - * Perform a [clearScroll](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html) request + * Perform a [clearScroll](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-request-scroll.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.scrollId - A comma-separated list of scroll IDs to clear @@ -881,7 +881,7 @@ api.clearScroll = ca({ api.cluster = namespace(); /** - * Perform a [cluster.getSettings](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html) request + * Perform a [cluster.getSettings](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-update-settings.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.flatSettings - Return settings in flat format (default: false) @@ -908,7 +908,7 @@ api.cluster.prototype.getSettings = ca({ }); /** - * Perform a [cluster.health](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html) request + * Perform a [cluster.health](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-health.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} [params.level=cluster] - Specify the level of detail for returned information @@ -981,7 +981,7 @@ api.cluster.prototype.health = ca({ }); /** - * Perform a [cluster.pendingTasks](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html) request + * Perform a [cluster.pendingTasks](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-pending.html) request * * @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) @@ -1003,7 +1003,7 @@ api.cluster.prototype.pendingTasks = ca({ }); /** - * Perform a [cluster.putSettings](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html) request + * Perform a [cluster.putSettings](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-update-settings.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.flatSettings - Return settings in flat format (default: false) @@ -1031,7 +1031,7 @@ api.cluster.prototype.putSettings = ca({ }); /** - * Perform a [cluster.reroute](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html) request + * Perform a [cluster.reroute](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-reroute.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.dryRun - Simulate the operation only and return the resulting state @@ -1076,7 +1076,7 @@ api.cluster.prototype.reroute = ca({ }); /** - * Perform a [cluster.state](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html) request + * Perform a [cluster.state](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-state.html) request * * @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) @@ -1168,7 +1168,7 @@ api.cluster.prototype.state = ca({ }); /** - * Perform a [cluster.stats](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html) request + * Perform a [cluster.stats](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-stats.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.flatSettings - Return settings in flat format (default: false) @@ -1206,7 +1206,7 @@ api.cluster.prototype.stats = ca({ }); /** - * Perform a [count](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html) request + * Perform a [count](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-count.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -1314,7 +1314,7 @@ api.count = ca({ }); /** - * Perform a [countPercolate](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-percolate.html) request + * Perform a [countPercolate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-percolate.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.routing - A comma-separated list of specific routing values @@ -1410,7 +1410,7 @@ api.countPercolate = ca({ }); /** - * Perform a [delete](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html) request + * Perform a [delete](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-delete.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.consistency - Specific write consistency setting for the operation @@ -1478,7 +1478,7 @@ api['delete'] = ca({ }); /** - * Perform a [deleteScript](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html) request + * Perform a [deleteScript](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-scripting.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Number} params.version - Explicit version number for concurrency control @@ -1517,7 +1517,7 @@ api.deleteScript = ca({ }); /** - * Perform a [deleteTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html) request + * Perform a [deleteTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-template.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Number} params.version - Explicit version number for concurrency control @@ -1552,7 +1552,7 @@ api.deleteTemplate = ca({ }); /** - * Perform a [exists](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html) request + * Perform a [exists](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-get.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.parent - The ID of the parent document @@ -1600,7 +1600,7 @@ api.exists = ca({ }); /** - * Perform a [explain](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html) request + * Perform a [explain](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-explain.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.analyzeWildcard - Specify whether wildcards and prefix queries in the query string query should be analyzed (default: false) @@ -1694,7 +1694,7 @@ api.explain = ca({ }); /** - * Perform a [fieldStats](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-stats.html) request + * Perform a [fieldStats](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-field-stats.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.fields - A comma-separated list of fields for to get field statistics for (min value, max value, and more) @@ -1754,7 +1754,7 @@ api.fieldStats = ca({ }); /** - * Perform a [get](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html) request + * Perform a [get](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-get.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.fields - A comma-separated list of fields to return in the response @@ -1834,7 +1834,7 @@ api.get = ca({ }); /** - * Perform a [getScript](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html) request + * Perform a [getScript](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-scripting.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Number} params.version - Explicit version number for concurrency control @@ -1872,7 +1872,7 @@ api.getScript = ca({ }); /** - * Perform a [getSource](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html) request + * Perform a [getSource](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-get.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.parent - The ID of the parent document @@ -1948,7 +1948,7 @@ api.getSource = ca({ }); /** - * Perform a [getTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html) request + * Perform a [getTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-template.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Number} params.version - Explicit version number for concurrency control @@ -1982,7 +1982,7 @@ api.getTemplate = ca({ }); /** - * Perform a [index](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html) request + * Perform a [index](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-index_.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.consistency - Explicit write consistency setting for the operation @@ -2083,7 +2083,7 @@ api.index = ca({ api.indices = namespace(); /** - * Perform a [indices.analyze](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html) request + * Perform a [indices.analyze](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-analyze.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.analyzer - The name of the analyzer to use @@ -2167,7 +2167,7 @@ api.indices.prototype.analyze = ca({ }); /** - * Perform a [indices.clearCache](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html) request + * Perform a [indices.clearCache](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-clearcache.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.fieldData - Clear field data @@ -2242,7 +2242,7 @@ api.indices.prototype.clearCache = ca({ }); /** - * Perform a [indices.close](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html) request + * Perform a [indices.close](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-open-close.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Explicit operation timeout @@ -2293,7 +2293,7 @@ api.indices.prototype.close = ca({ }); /** - * Perform a [indices.create](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html) request + * Perform a [indices.create](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-create-index.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Explicit operation timeout @@ -2327,7 +2327,7 @@ api.indices.prototype.create = ca({ }); /** - * Perform a [indices.delete](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html) request + * Perform a [indices.delete](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-delete-index.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Explicit operation timeout @@ -2356,7 +2356,7 @@ api.indices.prototype['delete'] = ca({ }); /** - * Perform a [indices.deleteAlias](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html) request + * Perform a [indices.deleteAlias](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Explicit timestamp for the document @@ -2389,7 +2389,7 @@ api.indices.prototype.deleteAlias = ca({ }); /** - * Perform a [indices.deleteTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html) request + * Perform a [indices.deleteTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-templates.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Explicit operation timeout @@ -2418,7 +2418,7 @@ api.indices.prototype.deleteTemplate = ca({ }); /** - * Perform a [indices.deleteWarmer](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-warmers.html) request + * Perform a [indices.deleteWarmer](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-warmers.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Specify timeout for connection to master @@ -2450,7 +2450,7 @@ api.indices.prototype.deleteWarmer = ca({ }); /** - * Perform a [indices.exists](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html) request + * Perform a [indices.exists](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-exists.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -2496,7 +2496,7 @@ api.indices.prototype.exists = ca({ }); /** - * Perform a [indices.existsAlias](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html) request + * Perform a [indices.existsAlias](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -2567,7 +2567,7 @@ api.indices.prototype.existsAlias = ca({ }); /** - * Perform a [indices.existsTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html) request + * Perform a [indices.existsTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-templates.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -2596,7 +2596,7 @@ api.indices.prototype.existsTemplate = ca({ }); /** - * Perform a [indices.existsType](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html) request + * Perform a [indices.existsType](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-types-exists.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -2646,7 +2646,7 @@ api.indices.prototype.existsType = ca({ }); /** - * Perform a [indices.flush](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html) request + * Perform a [indices.flush](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-flush.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.force - Whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index. This is useful if transaction log IDs should be incremented even if no uncommitted changes are present. (This setting can be considered as internal) @@ -2702,7 +2702,7 @@ api.indices.prototype.flush = ca({ }); /** - * Perform a [indices.flushSynced](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html) request + * Perform a [indices.flushSynced](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-synced-flush.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -2749,7 +2749,7 @@ api.indices.prototype.flushSynced = ca({ }); /** - * Perform a [indices.forcemerge](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html) request + * Perform a [indices.forcemerge](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-forcemerge.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.flush - Specify whether the index should be flushed after performing the operation (default: true) @@ -2819,7 +2819,7 @@ api.indices.prototype.forcemerge = ca({ }); /** - * Perform a [indices.get](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html) request + * Perform a [indices.get](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-get-index.html) request * * @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) @@ -2894,7 +2894,7 @@ api.indices.prototype.get = ca({ }); /** - * Perform a [indices.getAlias](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html) request + * Perform a [indices.getAlias](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -2964,7 +2964,7 @@ api.indices.prototype.getAlias = ca({ }); /** - * Perform a [indices.getAliases](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html) request + * Perform a [indices.getAliases](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Explicit operation timeout @@ -3016,7 +3016,7 @@ api.indices.prototype.getAliases = ca({ }); /** - * Perform a [indices.getFieldMapping](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html) request + * Perform a [indices.getFieldMapping](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-get-field-mapping.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.includeDefaults - Whether the default mapping values should be returned as well @@ -3106,7 +3106,7 @@ api.indices.prototype.getFieldMapping = ca({ }); /** - * Perform a [indices.getMapping](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html) request + * Perform a [indices.getMapping](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-get-mapping.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -3176,7 +3176,7 @@ api.indices.prototype.getMapping = ca({ }); /** - * Perform a [indices.getSettings](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html) request + * Perform a [indices.getSettings](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-get-settings.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -3259,7 +3259,7 @@ api.indices.prototype.getSettings = ca({ }); /** - * Perform a [indices.getTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html) request + * Perform a [indices.getTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-templates.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.flatSettings - Return settings in flat format (default: false) @@ -3297,7 +3297,7 @@ api.indices.prototype.getTemplate = ca({ }); /** - * Perform a [indices.getUpgrade](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html) request + * Perform a [indices.getUpgrade](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-upgrade.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -3348,7 +3348,7 @@ api.indices.prototype.getUpgrade = ca({ }); /** - * Perform a [indices.getWarmer](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-warmers.html) request + * Perform a [indices.getWarmer](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-warmers.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -3433,7 +3433,7 @@ api.indices.prototype.getWarmer = ca({ }); /** - * Perform a [indices.open](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html) request + * Perform a [indices.open](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-open-close.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Explicit operation timeout @@ -3484,7 +3484,7 @@ api.indices.prototype.open = ca({ }); /** - * Perform a [indices.optimize](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-optimize.html) request + * Perform a [indices.optimize](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-optimize.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.flush - Specify whether the index should be flushed after performing the operation (default: true) @@ -3554,7 +3554,7 @@ api.indices.prototype.optimize = ca({ }); /** - * Perform a [indices.putAlias](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html) request + * Perform a [indices.putAlias](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Explicit timestamp for the document @@ -3587,7 +3587,7 @@ api.indices.prototype.putAlias = ca({ }); /** - * Perform a [indices.putMapping](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html) request + * Perform a [indices.putMapping](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-put-mapping.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Explicit operation timeout @@ -3658,7 +3658,7 @@ api.indices.prototype.putMapping = ca({ }); /** - * Perform a [indices.putSettings](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html) request + * Perform a [indices.putSettings](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-update-settings.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Specify timeout for connection to master @@ -3716,7 +3716,7 @@ api.indices.prototype.putSettings = ca({ }); /** - * Perform a [indices.putTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html) request + * Perform a [indices.putTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-templates.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Number} params.order - The order for this template when merging multiple matching ones (higher numbers are merged later, overriding the lower numbers) @@ -3760,7 +3760,7 @@ api.indices.prototype.putTemplate = ca({ }); /** - * Perform a [indices.putWarmer](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-warmers.html) request + * Perform a [indices.putWarmer](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-warmers.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Specify timeout for connection to master @@ -3842,7 +3842,7 @@ api.indices.prototype.putWarmer = ca({ }); /** - * Perform a [indices.recovery](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html) request + * Perform a [indices.recovery](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-recovery.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.detailed - Whether to display detailed information about shard recovery @@ -3882,7 +3882,7 @@ api.indices.prototype.recovery = ca({ }); /** - * Perform a [indices.refresh](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html) request + * Perform a [indices.refresh](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-refresh.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -3938,7 +3938,7 @@ api.indices.prototype.refresh = ca({ }); /** - * Perform a [indices.segments](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html) request + * Perform a [indices.segments](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-segments.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -3998,7 +3998,7 @@ api.indices.prototype.segments = ca({ }); /** - * Perform a [indices.shardStores](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html) request + * Perform a [indices.shardStores](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-shards-stores.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.status - A comma-separated list of statuses used to filter on shards to get store information for @@ -4058,7 +4058,7 @@ api.indices.prototype.shardStores = ca({ }); /** - * Perform a [indices.stats](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html) request + * Perform a [indices.stats](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-stats.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.completionFields - A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards) @@ -4177,7 +4177,7 @@ api.indices.prototype.stats = ca({ }); /** - * Perform a [indices.updateAliases](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html) request + * Perform a [indices.updateAliases](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-aliases.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.timeout - Request timeout @@ -4201,7 +4201,7 @@ api.indices.prototype.updateAliases = ca({ }); /** - * Perform a [indices.upgrade](http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html) request + * Perform a [indices.upgrade](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/indices-upgrade.html) request * * @param {Object} params - An object with parameters used to carry out this action * @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) @@ -4258,7 +4258,7 @@ api.indices.prototype.upgrade = ca({ }); /** - * Perform a [indices.validateQuery](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html) request + * Perform a [indices.validateQuery](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-validate.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.explain - Return detailed information about the error @@ -4376,7 +4376,7 @@ api.info = ca({ }); /** - * Perform a [mget](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html) request + * Perform a [mget](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-multi-get.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.fields - A comma-separated list of fields to return in the response @@ -4444,7 +4444,7 @@ api.mget = ca({ }); /** - * Perform a [mpercolate](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-percolate.html) request + * Perform a [mpercolate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-percolate.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -4505,7 +4505,7 @@ api.mpercolate = ca({ }); /** - * Perform a [msearch](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html) request + * Perform a [msearch](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-multi-search.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.searchType - Search operation type @@ -4557,7 +4557,7 @@ api.msearch = ca({ }); /** - * Perform a [mtermvectors](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html) request + * Perform a [mtermvectors](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-multi-termvectors.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.ids - A comma-separated list of documents ids. You must define ids as parameter or set "ids" or "docs" in the request body @@ -4673,7 +4673,7 @@ api.mtermvectors = ca({ api.nodes = namespace(); /** - * Perform a [nodes.hotThreads](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html) request + * Perform a [nodes.hotThreads](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-nodes-hot-threads.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.interval - The interval for the second sampling of threads @@ -4727,7 +4727,7 @@ api.nodes.prototype.hotThreads = ca({ }); /** - * Perform a [nodes.info](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html) request + * Perform a [nodes.info](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-nodes-info.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.flatSettings - Return settings in flat format (default: false) @@ -4805,7 +4805,7 @@ api.nodes.prototype.info = ca({ }); /** - * Perform a [nodes.stats](http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html) request + * Perform a [nodes.stats](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-nodes-stats.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.completionFields - A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards) @@ -5002,7 +5002,7 @@ api.nodes.prototype.stats = ca({ }); /** - * Perform a [percolate](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-percolate.html) request + * Perform a [percolate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-percolate.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.routing - A comma-separated list of specific routing values @@ -5129,7 +5129,7 @@ api.ping = ca({ }); /** - * Perform a [putScript](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html) request + * Perform a [putScript](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-scripting.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} [params.opType=index] - Explicit operation type @@ -5179,7 +5179,7 @@ api.putScript = ca({ }); /** - * Perform a [putTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html) request + * Perform a [putTemplate](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-template.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} [params.opType=index] - Explicit operation type @@ -5225,7 +5225,7 @@ api.putTemplate = ca({ }); /** - * Perform a [reindex](https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html) request + * Perform a [reindex](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-reindex.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.refresh - Should the effected indexes be refreshed? @@ -5264,7 +5264,7 @@ api.reindex = ca({ }); /** - * Perform a [renderSearchTemplate](http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html) request + * Perform a [renderSearchTemplate](http://www.elasticsearch.org/guide/en/elasticsearch/reference/2.3/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 @@ -5287,7 +5287,7 @@ api.renderSearchTemplate = ca({ }); /** - * 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/2.3/search-request-scroll.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Duration} params.scroll - Specify how long a consistent view of the index should be maintained for scrolled search @@ -5321,7 +5321,7 @@ api.scroll = ca({ }); /** - * Perform a [search](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html) request + * Perform a [search](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-search.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.analyzer - The analyzer to use for the query string @@ -5531,7 +5531,7 @@ api.search = ca({ }); /** - * Perform a [searchExists](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-exists.html) request + * Perform a [searchExists](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-exists.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -5639,7 +5639,7 @@ api.searchExists = ca({ }); /** - * Perform a [searchShards](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html) request + * Perform a [searchShards](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-shards.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.preference - Specify the node or shard the operation should be performed on (default: random) @@ -5796,7 +5796,7 @@ api.searchTemplate = ca({ api.snapshot = namespace(); /** - * Perform a [snapshot.create](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html) request + * Perform a [snapshot.create](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -5831,7 +5831,7 @@ api.snapshot.prototype.create = ca({ }); /** - * Perform a [snapshot.createRepository](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html) request + * Perform a [snapshot.createRepository](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -5865,7 +5865,7 @@ api.snapshot.prototype.createRepository = ca({ }); /** - * Perform a [snapshot.delete](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html) request + * Perform a [snapshot.delete](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -5894,7 +5894,7 @@ api.snapshot.prototype['delete'] = ca({ }); /** - * Perform a [snapshot.deleteRepository](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html) request + * Perform a [snapshot.deleteRepository](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -5923,7 +5923,7 @@ api.snapshot.prototype.deleteRepository = ca({ }); /** - * Perform a [snapshot.get](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html) request + * Perform a [snapshot.get](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -5951,7 +5951,7 @@ api.snapshot.prototype.get = ca({ }); /** - * Perform a [snapshot.getRepository](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html) request + * Perform a [snapshot.getRepository](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -5984,7 +5984,7 @@ api.snapshot.prototype.getRepository = ca({ }); /** - * Perform a [snapshot.restore](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html) request + * Perform a [snapshot.restore](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -6019,7 +6019,7 @@ api.snapshot.prototype.restore = ca({ }); /** - * Perform a [snapshot.status](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html) request + * Perform a [snapshot.status](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -6060,7 +6060,7 @@ api.snapshot.prototype.status = ca({ }); /** - * Perform a [snapshot.verifyRepository](http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html) request + * Perform a [snapshot.verifyRepository](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-snapshots.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node @@ -6089,7 +6089,7 @@ api.snapshot.prototype.verifyRepository = ca({ }); /** - * Perform a [suggest](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-suggesters.html) request + * Perform a [suggest](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-suggesters.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed) @@ -6147,7 +6147,7 @@ api.suggest = ca({ api.tasks = namespace(); /** - * Perform a [tasks.cancel](http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks-cancel.html) request + * Perform a [tasks.cancel](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/tasks.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.nodeId - A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes @@ -6191,7 +6191,7 @@ api.tasks.prototype.cancel = ca({ }); /** - * Perform a [tasks.list](http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks-list.html) request + * Perform a [tasks.list](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/tasks.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.nodeId - A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes @@ -6243,7 +6243,7 @@ api.tasks.prototype.list = ca({ }); /** - * Perform a [termvectors](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html) request + * Perform a [termvectors](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-termvectors.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.termStatistics - Specifies if total term frequency and document frequency should be returned. @@ -6362,7 +6362,7 @@ api.termvectors = ca({ }); /** - * Perform a [update](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html) request + * Perform a [update](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-update.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.consistency - Explicit write consistency setting for the operation @@ -6460,7 +6460,7 @@ api.update = ca({ }); /** - * Perform a [updateByQuery](https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html) request + * Perform a [updateByQuery](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-update-by-query.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.analyzer - The analyzer to use for the query string @@ -6709,7 +6709,7 @@ api.updateByQuery = ca({ }); /** - * Perform a [create](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html) request + * Perform a [create](http://www.elastic.co/guide/en/elasticsearch/reference/2.3/docs-index_.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.consistency - Explicit write consistency setting for the operation diff --git a/src/lib/apis/master.js b/src/lib/apis/master.js index 7a58870e4..a80cc3f57 100644 --- a/src/lib/apis/master.js +++ b/src/lib/apis/master.js @@ -1220,6 +1220,7 @@ api.cluster.prototype.putSettings = ca({ * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.dryRun - Simulate the operation only and return the resulting state * @param {Boolean} params.explain - Return an explanation of why the commands can or cannot be executed + * @param {Boolean} params.retryFailed - Retries allocation of shards that are blocked due to too many subsequent allocation failures * @param {String, String[], Boolean} params.metric - Limit the information returned to the specified metrics. Defaults to all but metadata * @param {Date, Number} params.masterTimeout - Explicit operation timeout for connection to master node * @param {Date, Number} params.timeout - Explicit operation timeout @@ -1233,6 +1234,10 @@ api.cluster.prototype.reroute = ca({ explain: { type: 'boolean' }, + retryFailed: { + type: 'boolean', + name: 'retry_failed' + }, metric: { type: 'list', options: [ @@ -1662,7 +1667,7 @@ api['delete'] = ca({ }); /** - * Perform a [deleteByQuery](https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html) request + * Perform a [deleteByQuery](https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-delete-by-query.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.analyzer - The analyzer to use for the query string @@ -5350,7 +5355,7 @@ api.putTemplate = ca({ api.reindex = namespace(); /** - * Perform a [reindex](https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html) request + * Perform a [reindex](https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Boolean} params.refresh - Should the effected indexes be refreshed? @@ -5395,7 +5400,7 @@ api.reindex = ca({ }); /** - * Perform a [reindex.rethrottle](https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html) request + * Perform a [reindex.rethrottle](https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {Float} 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. @@ -6192,7 +6197,7 @@ api.suggest = ca({ api.tasks = namespace(); /** - * Perform a [tasks.cancel](http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks-cancel.html) request + * Perform a [tasks.cancel](http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String, String[], Boolean} params.nodeId - A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes @@ -6509,7 +6514,7 @@ api.update = ca({ }); /** - * Perform a [updateByQuery](https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html) request + * Perform a [updateByQuery](https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html) request * * @param {Object} params - An object with parameters used to carry out this action * @param {String} params.analyzer - The analyzer to use for the query string