# Elasticsearch with a java application

**URL:** <https://discuss.elastic.co/t/elasticsearch-with-a-java-application/85626>\
**Category:** Elasticsearch\
**Created:** [May 12, 2017, 9:48pm UTC](https://discuss.elastic.co/t/elasticsearch-with-a-java-application/85626 "2017-05-12T21:48:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zegdene](https://avatars.discourse-cdn.com/v4/letter/z/76d3ee/32.png) [@zegdene](https://discuss.elastic.co/u/zegdene)\
**Post date:** [May 12, 2017, 9:48pm UTC](https://discuss.elastic.co/t/elasticsearch-with-a-java-application/85626/1 "2017-05-12T21:48:15Z")

</div>

Hi,  
I m using the Java API and I want to know what is the best way to manipulate data elasticsearch with java application.  
I m tired to search how i can manipualte this data.  
I have the in index and i have 282848 document, I want to apply a prediction algorithm for each document so I want to do the search with id of each document and store the result with update document in elasticsearch  
Is the conversion of json to java object necessary  
I have blurred notions  
Thank you in advance for your help

---

<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:** [May 13, 2017, 4:03am UTC](https://discuss.elastic.co/t/elasticsearch-with-a-java-application/85626/2 "2017-05-13T04:03:05Z")

</div>

Jackson library helps doing the conversion from/to json.

I'd use that.

---

<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:** [June 10, 2017, 4:04am UTC](https://discuss.elastic.co/t/elasticsearch-with-a-java-application/85626/3 "2017-06-10T04:04:55Z")

</div>

Closed on June 10, 2017, 4:04am UTC

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