# Storing Very Large Text Field in Elasticsearch

**URL:** <https://discuss.elastic.co/t/storing-very-large-text-field-in-elasticsearch/380428>\
**Category:** Elasticsearch\
**Created:** [July 24, 2025, 12:57pm UTC](https://discuss.elastic.co/t/storing-very-large-text-field-in-elasticsearch/380428 "2025-07-24T12:57:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 24, 2025, 4:44pm UTC](https://discuss.elastic.co/t/storing-very-large-text-field-in-elasticsearch/380428/2 "2025-07-24T16:44:55Z")

</div>

Hi @kdwolf

I'm a little confused. Are you referring to a single token that is 40-50MB, or a text field containing multiple strings/tokens (this seems to be what you are implying)? If so, that is fine to store 40-50MB in a single `text` field in Elastic.

Perhaps you are confusing the single token limit in Lucene, which is 32K

Lucene still has a document limit (field limit) of about 2GB.

That said, there are other areas of concern, like actually returning the data due to HTTP limits, etc.

Perhaps take a look at this thread

> [@Maximum characters limit text fields in elasticsearch](https://discuss.elastic.co/t/maximum-characters-limit-text-fields-in-elasticsearch/376616/2):
>
> I think this documentation largely answers your question: [General recommendations | Elasticsearch Guide [8.17] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/general-recommendations.html) Other fields (like keyword) have further limitations, but for text fields I think it's however much data you can send to ES up to the http limit which is about 100MB or if configured higher we eventually disallow blobs or text fields above 2GB. In practice if you consider for instance Moby Dick I think that's about ~2MB of text. So it's probably safe that anything human-con…

Minor Side Note: Most of the text in a .mobi file is binary so not sure if that is just and example ... The Header etc is text but the actual text of the document is binary AFAIK.

---

_[View the full topic](https://discuss.elastic.co/t/storing-very-large-text-field-in-elasticsearch/380428)._
