diff --git a/docs/java-api/client.asciidoc b/docs/java-api/client.asciidoc index 5e1533986625d..c0e27ddcae2d8 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 ea4e0edcd1091..f6052b0d4e0ee 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. ===================================