# How to use the erlang client for elastic search (example code)?

**URL:** <https://discuss.elastic.co/t/how-to-use-the-erlang-client-for-elastic-search-example-code/10312>\
**Category:** Elasticsearch\
**Created:** [January 11, 2013, 7:54am UTC](https://discuss.elastic.co/t/how-to-use-the-erlang-client-for-elastic-search-example-code/10312 "2013-01-11T07:54:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamsyt](https://avatars.discourse-cdn.com/v4/letter/i/8491ac/32.png) [@iamsyt](https://discuss.elastic.co/u/iamsyt)\
**Post date:** [January 11, 2013, 7:54am UTC](https://discuss.elastic.co/t/how-to-use-the-erlang-client-for-elastic-search-example-code/10312/1 "2013-01-11T07:54:01Z")

</div>

Hi all,

have anyone used the erlang client for elastic search as below:

> **[tsloughter/erlastic\_search](https://github.com/tsloughter/erlastic_search)**
>
> erlastic\_search - An Erlang app for communicating with Elastic Search's rest interface.

i am confused on how to use the erlang api, it would be great if there is example code to demo how to use it.

thanks,  
-zhisun

---

<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:** [July 6, 2017, 2:56am UTC](https://discuss.elastic.co/t/how-to-use-the-erlang-client-for-elastic-search-example-code/10312/2 "2017-07-06T02:56:55Z")

</div>


