diff --git a/docs/api_methods.asciidoc b/docs/api_methods.asciidoc index 7df3d64fc..40b4fecf8 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. -Check the *<>* and /docs-bulk.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {ref}/docs-bulk.html[the elasticsearch docs] for more information pertaining to this method. .Perform three operations in a single request [source,js] @@ -1699,7 +1699,7 @@ client.renderSearchTemplate([params, [callback]]) // no description -Check the *<>* and http://www.elasticsearch.org/guide/en/elasticsearch/reference/5.x/search-template.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {ref}/search-template.html[the elasticsearch docs] for more information pertaining to this method. // no examples @@ -1710,7 +1710,7 @@ Check the *<>* and http://www.elasticsearch.org/guide/en/elasti `id`:: <> -- The id of the stored search template `body`:: -<>, <> -- An optional request body, as either JSON or a JSON serializable object. See http://www.elasticsearch.org/guide/en/elasticsearch/reference/5.x/search-template.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- An optional request body, as either JSON or a JSON serializable object. See {ref}/search-template.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top] @@ -3748,7 +3748,7 @@ client.indices.exists([params, [callback]]) Return a boolean indicating whether given index exists. -Check the *<>* and http://www.elastic.co/guide/en/elasticsearch/reference/5.x/indices-exists.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {ref}/indices-exists.html[the elasticsearch docs] for more information pertaining to this method. // no examples @@ -3777,7 +3777,7 @@ Options::: `index`:: <>, <>, <> -- A comma-separated list of index names `body`:: -<>, <> -- An optional request body, as either JSON or a JSON serializable object. See http://www.elastic.co/guide/en/elasticsearch/reference/5.x/indices-exists.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- An optional request body, as either JSON or a JSON serializable object. See {ref}/indices-exists.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top] @@ -4893,7 +4893,7 @@ client.ingest.deletePipeline([params, [callback]]) // no description -Check the *<>* and https://www.elastic.co/guide/en/elasticsearch/plugins/5.x/ingest.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {plugins-50}/ingest.html[the elasticsearch docs] for more information pertaining to this method. // no examples @@ -4908,7 +4908,7 @@ Check the *<>* and https://www.elastic.co/guide/en/elasticsearc `id`:: <> -- Pipeline ID `body`:: -<>, <> -- An optional request body, as either JSON or a JSON serializable object. See https://www.elastic.co/guide/en/elasticsearch/plugins/5.x/ingest.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- An optional request body, as either JSON or a JSON serializable object. See {plugins-50}/ingest.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top] @@ -4922,7 +4922,7 @@ client.ingest.getPipeline([params, [callback]]) // no description -Check the *<>* and https://www.elastic.co/guide/en/elasticsearch/plugins/5.x/ingest.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {ref}/ingest.html[the elasticsearch docs] for more information pertaining to this method. // no examples @@ -4947,7 +4947,7 @@ client.ingest.putPipeline([params, [callback]]) // no description -Check the *<>* and https://www.elastic.co/guide/en/elasticsearch/plugins/5.x/ingest.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {plugins-50}/ingest.html[the elasticsearch docs] for more information pertaining to this method. // no examples @@ -4962,7 +4962,7 @@ Check the *<>* and https://www.elastic.co/guide/en/elasticsearc `id`:: <> -- Pipeline ID `body`:: -<>, <> -- The request body, as either JSON or a JSON serializable object. See https://www.elastic.co/guide/en/elasticsearch/plugins/5.x/ingest.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- The request body, as either JSON or a JSON serializable object. See {plugins-50}/ingest.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top] @@ -4976,7 +4976,7 @@ client.ingest.simulate([params, [callback]]) // no description -Check the *<>* and https://www.elastic.co/guide/en/elasticsearch/plugins/5.x/ingest.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {plugins-50}/ingest.html[the elasticsearch docs] for more information pertaining to this method. // no examples @@ -4989,7 +4989,7 @@ Check the *<>* and https://www.elastic.co/guide/en/elasticsearc `id`:: <> -- Pipeline ID `body`:: -<>, <> -- The request body, as either JSON or a JSON serializable object. See https://www.elastic.co/guide/en/elasticsearch/plugins/5.x/ingest.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- The request body, as either JSON or a JSON serializable object. See {plugins-50}/ingest.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top] diff --git a/docs/api_methods_5_0.asciidoc b/docs/api_methods_5_0.asciidoc index fa9652d2a..410f0e253 100644 --- a/docs/api_methods_5_0.asciidoc +++ b/docs/api_methods_5_0.asciidoc @@ -15,7 +15,7 @@ client.bulk([params, [callback]]) Perform many index/delete operations in a single API call. -Check the *<>* and {ref-50}/5.6/docs-bulk.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {ref-50}/docs-bulk.html[the elasticsearch docs] for more information pertaining to this method. .Perform three operations in a single request [source,js] @@ -72,7 +72,7 @@ Options::: `index`:: <> -- Default index for items which don't provide one `body`:: -<>, <> -- The request body, as either an array of objects or new-line delimited JSON objects. See {ref-50}/5.6/docs-bulk.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- The request body, as either an array of objects or new-line delimited JSON objects. See {ref-50}/docs-bulk.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top] @@ -86,7 +86,7 @@ client.clearScroll([params, [callback]]) Clear the scroll request created by specifying the scroll parameter to search. -Check the *<>* and {ref-50}/5.6/search-request-scroll.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {ref-50}/search-request-scroll.html[the elasticsearch docs] for more information pertaining to this method. // no examples @@ -97,7 +97,7 @@ Check the *<>* and {ref-50}/5.6/search-request-scroll.html[the `scrollId`:: <>, <>, <> -- A comma-separated list of scroll IDs to clear `body`:: -<>, <> -- An optional request body, as either JSON or a JSON serializable object. See {ref-50}/5.6//search-request-scroll.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- An optional request body, as either JSON or a JSON serializable object. See {ref-50}/search-request-scroll.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top] @@ -111,7 +111,7 @@ client.count([params, [callback]]) Get the number of documents for the cluster, index, type, or a query. -Check the *<>* and {ref-50}/5.6//search-count.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {ref-50}/search-count.html[the elasticsearch docs] for more information pertaining to this method. .Get the number of all documents in the cluster [source,js] @@ -199,7 +199,7 @@ Options::: `type`:: <>, <>, <> -- A comma-separated list of types to restrict the results `body`:: -<>, <> -- An optional request body, as either JSON or a JSON serializable object. See {ref-50}/5.6/search-count.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- An optional request body, as either JSON or a JSON serializable object. See {ref-50}/search-count.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top] @@ -213,7 +213,7 @@ client.countPercolate([params, [callback]]) // no description -Check the *<>* and {ref-50}/5.6/search-percolate.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {ref-50}/search-percolate.html[the elasticsearch docs] for more information pertaining to this method. // no examples @@ -258,7 +258,7 @@ Options::: `id`:: <> -- Substitute the document in the request body with a document that is known by the specified id. On top of the id, the index and type parameter will be used to retrieve the document from within the cluster. `body`:: -<>, <> -- An optional request body, as either JSON or a JSON serializable object. See {ref-50}/5.6/search-percolate.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- An optional request body, as either JSON or a JSON serializable object. See {ref-50}/search-percolate.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top] @@ -272,7 +272,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. -Check the *<>* and {ref-50}/5.6/docs-index_.html[the elasticsearch docs] for more information pertaining to this method. +Check the *<>* and {ref-50}/docs-index_.html[the elasticsearch docs] for more information pertaining to this method. .Create a document [source,js] @@ -336,7 +336,7 @@ Options::: `type`:: <> -- The type of the document `body`:: -<>, <> -- The request body, as either JSON or a JSON serializable object. See {ref-50}/5.6/docs-index_.html[the elasticsearch docs] for details about what can be specified here. +<>, <> -- The request body, as either JSON or a JSON serializable object. See {ref-50}/docs-index_.html[the elasticsearch docs] for details about what can be specified here. link:#[back to top]