diff --git a/docs/java-api/client.asciidoc b/docs/java-api/client.asciidoc index 0c3ff0d60bdc6..8d317fb1195e2 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 41b759cae6319..fac0b9d6b2bdc 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. ===================================