# Indexing a document with a HUGE String field

**URL:** <https://discuss.elastic.co/t/indexing-a-document-with-a-huge-string-field/131030>\
**Category:** Elasticsearch\
**Created:** [May 8, 2018, 3:08pm UTC](https://discuss.elastic.co/t/indexing-a-document-with-a-huge-string-field/131030 "2018-05-08T15:08:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Zuluaga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_zuluaga/32/30937_2.png) [@Daniel\_Zuluaga](https://discuss.elastic.co/u/Daniel_Zuluaga)\
**Post date:** [May 8, 2018, 3:08pm UTC](https://discuss.elastic.co/t/indexing-a-document-with-a-huge-string-field/131030/1 "2018-05-08T15:08:58Z")

</div>

Hello everyone!

I wanted to ask you guys from help, I'm trying to index a document containing some genetics information, the problem I have is that one of the fields in my document is a really big String (Thousands of characters), my document looks something like this:

{  
"type" : "bovine",  
"post\_date" : "2009-11-15T14:12:12",  
"dna\_sequence" : "agttatgacgtgctccaggattaggcgcttcaccatgggcttgcttccatcaatataggc..."  
}

If I try to index the documents without the "dna\_sequence" I can do it with no problem, but when I try to index it with that field then it just never indexes, not even doing it one by one.

Thanks in advance.

---

<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 8, 2018, 3:29pm UTC](https://discuss.elastic.co/t/indexing-a-document-with-a-huge-string-field/131030/2 "2018-05-08T15:29:07Z")

</div>

Have a look at

> [@Indexing 5GB file](https://discuss.elastic.co/t/indexing-5gb-file/129875/4):
>
> You're fortunately not the first one to store genomic information in Elasticsearch! You may be interested in reaching out to others to hear what they've done if any of these sound familiar to your own problems: [Indexing DNA sequences](https://discuss.elastic.co/t/indexing-dna-sequences/63087)[https://www.elastic.co/blog/uncoiling-data-in-dna-elasticsearch-as-a-bioinformatics-research-tool](https://www.elastic.co/blog/uncoiling-data-in-dna-elasticsearch-as-a-bioinformatics-research-tool)[https://www.elastic.co/blog/elastic-yale-and-the-quest-to-cure-cancer](https://www.elastic.co/blog/elastic-yale-and-the-quest-to-cure-cancer) As to how to specifically deal with this, I think the answer is going to depend on what your s…

---

<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 5, 2018, 3:29pm UTC](https://discuss.elastic.co/t/indexing-a-document-with-a-huge-string-field/131030/3 "2018-06-05T15:29:12Z")

</div>

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