diff --git a/docs/api_methods_2_2.asciidoc b/docs/api_methods_2_2.asciidoc index 6e94b74a2..019927859 100644 --- a/docs/api_methods_2_2.asciidoc +++ b/docs/api_methods_2_2.asciidoc @@ -1593,7 +1593,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 https://www.elastic.co/guide/en/elasticsearch/reference/2.1/search-exists.html[the elasticsearch docs] for more about this method. // no examples @@ -3767,7 +3767,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 https://www.elastic.co/guide/en/elasticsearch/reference/2.1/indices-optimize.html[the elasticsearch docs] for more about this method. // no examples diff --git a/src/lib/apis/2_2.js b/src/lib/apis/2_2.js index 6a5936227..1f938f2b5 100644 --- a/src/lib/apis/2_2.js +++ b/src/lib/apis/2_2.js @@ -3475,7 +3475,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](https://www.elastic.co/guide/en/elasticsearch/reference/2.1/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) @@ -5483,7 +5483,7 @@ api.search = ca({ }); /** - * Perform a [searchExists](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-exists.html) request + * Perform a [searchExists](https://www.elastic.co/guide/en/elasticsearch/reference/2.1/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)