# Building a Elasticsearch REST service

**URL:** <https://discuss.elastic.co/t/building-a-elasticsearch-rest-service/23079>\
**Category:** Elasticsearch\
**Created:** [April 3, 2015, 9:45am UTC](https://discuss.elastic.co/t/building-a-elasticsearch-rest-service/23079 "2015-04-03T09:45:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roshan\_d](https://avatars.discourse-cdn.com/v4/letter/r/aeb1de/32.png) [@Roshan\_d](https://discuss.elastic.co/u/Roshan_d)\
**Post date:** [April 3, 2015, 9:45am UTC](https://discuss.elastic.co/t/building-a-elasticsearch-rest-service/23079/1 "2015-04-03T09:45:36Z")

</div>

I have 2 applications, one from which I am putting data into elasticsearch  
cluster and one UI, which enables one to search from the same elasticsearch  
cluster.

Currently, I have two separate code repos where some similar code is  
present (like ES client connection, indexing, etc). Is it a good idea to  
make elasticsearch as a REST service which can provide can provide basic  
get and put functionalities?

Is there some work already done for the same?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d48dbf89-6042-4234-938d-c5c8484f9ead%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d48dbf89-6042-4234-938d-c5c8484f9ead%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 6, 2015, 12:21am UTC](https://discuss.elastic.co/t/building-a-elasticsearch-rest-service/23079/2 "2015-04-06T00:21:59Z")

</div>

Elasticsearch is a RESTful service, what exactly are you wanting to do?

Also there are a number of official clients that already handle lots of  
things, I'd suggest you look at those.

On 3 April 2015 at 20:45, Roshan d [roshantemp1@gmail.com](mailto:roshantemp1@gmail.com) wrote:

> I have 2 applications, one from which I am putting data into elasticsearch  
> cluster and one UI, which enables one to search from the same elasticsearch  
> cluster.
> 
> Currently, I have two separate code repos where some similar code is  
> present (like ES client connection, indexing, etc). Is it a good idea to  
> make elasticsearch as a REST service which can provide can provide basic  
> get and put functionalities?
> 
> Is there some work already done for the same?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/d48dbf89-6042-4234-938d-c5c8484f9ead%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d48dbf89-6042-4234-938d-c5c8484f9ead%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/d48dbf89-6042-4234-938d-c5c8484f9ead%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/d48dbf89-6042-4234-938d-c5c8484f9ead%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-PfGxc8922vrERbXV0U7SbHuja6j2zo7YF5Qto\_MYjhQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-PfGxc8922vrERbXV0U7SbHuja6j2zo7YF5Qto_MYjhQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:21am UTC](https://discuss.elastic.co/t/building-a-elasticsearch-rest-service/23079/3 "2017-07-06T00:21:39Z")

</div>


