# Broken links in javadocs

**URL:** <https://discuss.elastic.co/t/broken-links-in-javadocs/209822>\
**Category:** Elasticsearch\
**Created:** [November 28, 2019, 9:52am UTC](https://discuss.elastic.co/t/broken-links-in-javadocs/209822 "2019-11-28T09:52:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![regiskuckaertz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/regiskuckaertz/32/39877_2.png) [@regiskuckaertz](https://discuss.elastic.co/u/regiskuckaertz)\
**Post date:** [November 28, 2019, 9:52am UTC](https://discuss.elastic.co/t/broken-links-in-javadocs/209822/1 "2019-11-28T09:52:45Z")

</div>

Hi. I'm trying to reach the javadoc for the request data types but am unable to.

- via the Java REST high level client javadoc: alls links to data types (\*Request) yield 404s
- via the deprecated Java API client: all links to client methods (prepare\*) yield 404s

I used to be able to do the latter, but find it extremely annoying since that API is deprecated and we are encouraged to use the former instead.

Can you pplease fix the javadoc for the high-level client?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [November 29, 2019, 8:04am UTC](https://discuss.elastic.co/t/broken-links-in-javadocs/209822/2 "2019-11-29T08:04:56Z")

</div>

can you share a concrete link that you are using to read the javadocs so we can take a look and fix it?

Thank you!

---

<div class="post-metadata">

**Author:** ![regiskuckaertz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/regiskuckaertz/32/39877_2.png) [@regiskuckaertz](https://discuss.elastic.co/u/regiskuckaertz)\
**Post date:** [November 29, 2019, 9:39am UTC](https://discuss.elastic.co/t/broken-links-in-javadocs/209822/3 "2019-11-29T09:39:12Z")

</div>

Hi Alexander, thank you very much for taking care of this. Of course:

- Visit [https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-javadoc.html](https://www.elastic.co/guide/en/elasticsearch/client/java-rest/master/java-rest-high-javadoc.html) and follow the link to the javadoc
- Go to the client package [https://snapshots.elastic.co/javadoc/org/elasticsearch/client/elasticsearch-rest-high-level-client/8.0.0-SNAPSHOT/org/elasticsearch/client/package-summary.html](https://snapshots.elastic.co/javadoc/org/elasticsearch/client/elasticsearch-rest-high-level-client/8.0.0-SNAPSHOT/org/elasticsearch/client/package-summary.html)
- Then then RestHighLevelClient [https://snapshots.elastic.co/javadoc/org/elasticsearch/client/elasticsearch-rest-high-level-client/8.0.0-SNAPSHOT/org/elasticsearch/client/RestHighLevelClient.html](https://snapshots.elastic.co/javadoc/org/elasticsearch/client/elasticsearch-rest-high-level-client/8.0.0-SNAPSHOT/org/elasticsearch/client/RestHighLevelClient.html)
- Click any link to get the definition of a method/constructor parameter

Perhaps there is a better way to achieve the same thing that I didn't see?

Cheers

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [November 29, 2019, 12:06pm UTC](https://discuss.elastic.co/t/broken-links-in-javadocs/209822/4 "2019-11-29T12:06:15Z")

</div>

I'll open an issue about that. This not only happens with the SNAPSHOTs aka unreleased versions, but the same happens when you try to read the 7.4.2 docs at [https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.4/java-rest-high-javadoc.html](https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.4/java-rest-high-javadoc.html)

Thanks for posting about it!

**Update** : Created [https://github.com/elastic/elasticsearch/issues/49716](https://github.com/elastic/elasticsearch/issues/49716)

---

<div class="post-metadata">

**Author:** ![regiskuckaertz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/regiskuckaertz/32/39877_2.png) [@regiskuckaertz](https://discuss.elastic.co/u/regiskuckaertz)\
**Post date:** [November 29, 2019, 12:37pm UTC](https://discuss.elastic.co/t/broken-links-in-javadocs/209822/5 "2019-11-29T12:37:51Z")

</div>

Many thanks for your quick reaction 👌

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 27, 2019, 12:38pm UTC](https://discuss.elastic.co/t/broken-links-in-javadocs/209822/6 "2019-12-27T12:38:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
