# Lightweight alternative to the java client

**URL:** https://discuss.elastic.co/t/lightweight-alternative-to-the-java-client/119013
**Category:** Elasticsearch
**Created:** [February 8, 2018, 10:01am UTC](https://discuss.elastic.co/t/lightweight-alternative-to-the-java-client/119013 "2018-02-08T10:01:41Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![aclowkey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclowkey/32/51020_2.png) [@aclowkey](https://discuss.elastic.co/u/aclowkey)
#### Post date: [February 8, 2018, 10:01am UTC](https://discuss.elastic.co/t/lightweight-alternative-to-the-java-client/119013/1 "2018-02-08T10:01:41Z")

</div>

Hi,

Using the Java client of ElasticSearch seems to be depdneded on the whole Elasticsearch and Lucene, etc.  
This seems to make the server application twice as heavy.. Are there alternatives to that library, except manually building JSONs for Http Request.

Also is there a git issue regarding making the query builders independent of the elastic core?

Thanks

---

<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: [February 8, 2018, 12:45pm UTC](https://discuss.elastic.co/t/lightweight-alternative-to-the-java-client/119013/2 "2018-02-08T12:45:47Z")

</div>

Yes. It is the plan indeed.

---

<div class="post-metadata">

### Author: ![aclowkey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclowkey/32/51020_2.png) [@aclowkey](https://discuss.elastic.co/u/aclowkey)
#### Post date: [February 8, 2018, 2:21pm UTC](https://discuss.elastic.co/t/lightweight-alternative-to-the-java-client/119013/3 "2018-02-08T14:21:32Z")

</div>

Can you link me to the issue? Or it doesn't exist yet

---

<div class="post-metadata">

### Author: ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)
#### Post date: [February 8, 2018, 2:23pm UTC](https://discuss.elastic.co/t/lightweight-alternative-to-the-java-client/119013/4 "2018-02-08T14:23:06Z")

</div>

This one should give you some insights:

> <https://github.com/elastic/elasticsearch/issues/27205>

---

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [February 8, 2018, 3:44pm UTC](https://discuss.elastic.co/t/lightweight-alternative-to-the-java-client/119013/5 "2018-02-08T15:44:44Z")

</div>

The Jest REST library has minimal dependencies.

> **[searchbox-io/Jest](https://github.com/searchbox-io/Jest)**
>
> Jest - Elasticsearch Java Rest Client.

---

<div class="post-metadata">

### Author: ![aclowkey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclowkey/32/51020_2.png) [@aclowkey](https://discuss.elastic.co/u/aclowkey)
#### Post date: [February 9, 2018, 10:39am UTC](https://discuss.elastic.co/t/lightweight-alternative-to-the-java-client/119013/6 "2018-02-09T10:39:51Z")

</div>

This is what I've been looking for!  
Thanks

---

<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: [March 9, 2018, 10:39am UTC](https://discuss.elastic.co/t/lightweight-alternative-to-the-java-client/119013/7 "2018-03-09T10:39:55Z")

</div>

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