# Recommendation from ElasticSearch : Jest vs Elastic Search's Rest client

**URL:** https://discuss.elastic.co/t/recommendation-from-elasticsearch-jest-vs-elastic-searchs-rest-client/271102
**Category:** Elasticsearch
**Created:** [April 23, 2021, 2:30pm UTC](https://discuss.elastic.co/t/recommendation-from-elasticsearch-jest-vs-elastic-searchs-rest-client/271102 "2021-04-23T14:30:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://discuss.elastic.co/u/gaurav)
#### Post date: [April 23, 2021, 2:30pm UTC](https://discuss.elastic.co/t/recommendation-from-elasticsearch-jest-vs-elastic-searchs-rest-client/271102/1 "2021-04-23T14:30:05Z")

</div>

We use ES via AWS ES cluster. For the project, we have to 2 choices to connect to ES, 1. Jest and 2. Elastic search's own REST client  
Looking for official recommendation on which client to use for querying our ES cluster.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [April 23, 2021, 2:58pm UTC](https://discuss.elastic.co/t/recommendation-from-elasticsearch-jest-vs-elastic-searchs-rest-client/271102/2 "2021-04-23T14:58:24Z")

</div>

I always recommend using the official client unless there is a good reason not to. It generally gets updated with support for new features faster.

Given that Amazon are likely to soon (?) switch to [OpenSearch](https://aws.amazon.com/blogs/opensource/introducing-opensearch/) (their forked version of Elasticsearch) and rename their service, it is possible you may need to switch client in the future unless you want to stay on Elasticsearch 7.10, which is the latest version of Elasticsearch Amazon can use on their service. It is quite likely that the Elasticsearch and OpenSearch APIs, although similar at present, will start to deviate in the future. Exactly how much this affect you I suspect depend on the features you are/will be using.

---

<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: [May 21, 2021, 2:58pm UTC](https://discuss.elastic.co/t/recommendation-from-elasticsearch-jest-vs-elastic-searchs-rest-client/271102/3 "2021-05-21T14:58:33Z")

</div>

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