From 7e149a6136b67249cfdc7a922ea0c1b89eb0c1a8 Mon Sep 17 00:00:00 2001 From: lcawl Date: Fri, 3 Dec 2021 11:03:24 -0800 Subject: [PATCH] [DOCS] Fixes broken links to clients --- docs/java-api/client.asciidoc | 4 ++-- docs/java-api/index.asciidoc | 4 ++-- docs/reference/setup/setup-xclient.asciidoc | 4 ++-- .../en/security/tribe-clients-integrations/java.asciidoc | 7 +++---- x-pack/docs/en/watcher/java.asciidoc | 4 ++-- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/docs/java-api/client.asciidoc b/docs/java-api/client.asciidoc index 0c0e12e0a73f1..89b7d2b20c059 100644 --- a/docs/java-api/client.asciidoc +++ b/docs/java-api/client.asciidoc @@ -41,8 +41,8 @@ https://github.com/elastic/elasticsearch/issues/27205[Java high-level REST client completeness]. Any missing APIs can always be implemented today by using the -link:/guide/en/elasticsearch/client/java-rest/current/java-rest-low.html[low -level Java REST Client] with JSON request and response bodies. +{java-rest}/java-rest-low.html[low level Java REST Client] with JSON request and +response bodies. =================================== diff --git a/docs/java-api/index.asciidoc b/docs/java-api/index.asciidoc index 53cf74e001e21..86ce69f1b9ffb 100644 --- a/docs/java-api/index.asciidoc +++ b/docs/java-api/index.asciidoc @@ -35,8 +35,8 @@ https://github.com/elastic/elasticsearch/issues/27205[Java high-level REST client completeness]. Any missing APIs can always be implemented today by using the -link:/guide/en/elasticsearch/client/java-rest/current/java-rest-low.html[low -level Java REST Client] with JSON request and response bodies. +{java-rest}/java-rest-low.html[low level Java REST Client] with JSON request and +response bodies. =================================== diff --git a/docs/reference/setup/setup-xclient.asciidoc b/docs/reference/setup/setup-xclient.asciidoc index 98480a5947ea1..9dd17f064efd3 100644 --- a/docs/reference/setup/setup-xclient.asciidoc +++ b/docs/reference/setup/setup-xclient.asciidoc @@ -25,8 +25,8 @@ https://github.com/elastic/elasticsearch/issues/27205[Java high-level REST client completeness]. Any missing APIs can always be implemented today by using the -link:/guide/en/elasticsearch/client/java-rest/current/java-rest-low.html[low -level Java REST Client] with JSON request and response bodies. +{java-rest}/java-rest-low.html[low level Java REST Client] with JSON request and +response bodies. =================================== diff --git a/x-pack/docs/en/security/tribe-clients-integrations/java.asciidoc b/x-pack/docs/en/security/tribe-clients-integrations/java.asciidoc index c26ae045dfdd7..c564c20da5182 100644 --- a/x-pack/docs/en/security/tribe-clients-integrations/java.asciidoc +++ b/x-pack/docs/en/security/tribe-clients-integrations/java.asciidoc @@ -2,8 +2,7 @@ === Java Client and security The {es} {security-features} support the Java -http://www.elastic.co/guide/en/elasticsearch/client/java-api/current/transport-client.html[transport client] -for Elasticsearch. +{javaclient}/transport-client.html[transport client] for Elasticsearch. The transport client uses the same transport protocol that the cluster nodes use for inter-node communication. It is very efficient as it does not have to marshall @@ -34,8 +33,8 @@ https://github.com/elastic/elasticsearch/issues/27205[Java high-level REST client completeness]. Any missing APIs can always be implemented today by using the -link:/guide/en/elasticsearch/client/java-rest/current/java-rest-low.html[low -level Java REST Client] with JSON request and response bodies. +{java-rest}/java-rest-low.html[low level Java REST Client] with JSON request and +response bodies. =================================== diff --git a/x-pack/docs/en/watcher/java.asciidoc b/x-pack/docs/en/watcher/java.asciidoc index 2e268300355dc..6754f0f8b9d13 100644 --- a/x-pack/docs/en/watcher/java.asciidoc +++ b/x-pack/docs/en/watcher/java.asciidoc @@ -19,8 +19,8 @@ https://github.com/elastic/elasticsearch/issues/27205[Java high-level REST client completeness]. Any missing APIs can always be implemented today by using the -link:/guide/en/elasticsearch/client/java-rest/current/java-rest-low.html[low -level Java REST Client] with JSON request and response bodies. +{java-rest}/java-rest-low.html[low level Java REST Client] with JSON request and +response bodies. ===================================