# How to append to a existing list using Java for a given ID for bulk inserts/update

**URL:** <https://discuss.elastic.co/t/how-to-append-to-a-existing-list-using-java-for-a-given-id-for-bulk-inserts-update/191401>\
**Category:** Elasticsearch\
**Created:** [July 19, 2019, 1:25pm UTC](https://discuss.elastic.co/t/how-to-append-to-a-existing-list-using-java-for-a-given-id-for-bulk-inserts-update/191401 "2019-07-19T13:25:25Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [July 20, 2019, 9:11am UTC](https://discuss.elastic.co/t/how-to-append-to-a-existing-list-using-java-for-a-given-id-for-bulk-inserts-update/191401/11 "2019-07-20T09:11:20Z")

</div>

No sorry. I never use scripts. I prefer to control everything in my application, like read the existing document with a GET update in my app and send a full document back.

If you need help, provide a full Kibana dev console recreation script as described in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). Please, try to keep the example as simple as possible.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-append-to-a-existing-list-using-java-for-a-given-id-for-bulk-inserts-update/191401)._
