# What are the limitations of array size in elastic search?

**URL:** <https://discuss.elastic.co/t/what-are-the-limitations-of-array-size-in-elastic-search/108413>\
**Category:** Elasticsearch\
**Created:** [November 20, 2017, 3:17pm UTC](https://discuss.elastic.co/t/what-are-the-limitations-of-array-size-in-elastic-search/108413 "2017-11-20T15:17:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [November 21, 2017, 2:07pm UTC](https://discuss.elastic.co/t/what-are-the-limitations-of-array-size-in-elastic-search/108413/2 "2017-11-21T14:07:10Z")

</div>

There is no hard limit but it's definitely recommended to keep those arrays "reasonable". When performing an update, Elasticsearch needs to fetch the entire doc, apply the update, then index the updated document and replicate the entire updated document to the replica, so very large arrays would come with a performance penalty indeed.

---

_[View the full topic](https://discuss.elastic.co/t/what-are-the-limitations-of-array-size-in-elastic-search/108413)._
