# Java High Level REST Client Dependencies

**URL:** <https://discuss.elastic.co/t/java-high-level-rest-client-dependencies/116751>\
**Category:** Elasticsearch\
**Created:** [January 23, 2018, 8:55pm UTC](https://discuss.elastic.co/t/java-high-level-rest-client-dependencies/116751 "2018-01-23T20:55:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jotschi](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@Jotschi](https://discuss.elastic.co/u/Jotschi)\
**Post date:** [January 23, 2018, 8:55pm UTC](https://discuss.elastic.co/t/java-high-level-rest-client-dependencies/116751/1 "2018-01-23T20:55:58Z")

</div>

I was just surprised by the transitive dependencies of the Java High Level REST Client (v6.1.2) maven artifact. Is there a valid reason why this client is requiring the full ES dependency which includes Lucene etc.  
This seems as a bad design decision at first glance. Has the low level client the same dependencies?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 23, 2018, 9:24pm UTC](https://discuss.elastic.co/t/java-high-level-rest-client-dependencies/116751/2 "2018-01-23T21:24:23Z")

</div>

That has been the decision to take to make sure we have something sooner than later.  
It has somewhat similar dependencies for now than the Transport Client.

The final goal is to reduce that but it will take time.

The low level has indeed fewer dependencies.

---

<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:** [February 20, 2018, 9:24pm UTC](https://discuss.elastic.co/t/java-high-level-rest-client-dependencies/116751/3 "2018-02-20T21:24:43Z")

</div>

Closed on February 20, 2018, 9:24pm UTC

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