# Advices on mapping field to huge text value

**URL:** <https://discuss.elastic.co/t/advices-on-mapping-field-to-huge-text-value/20749>\
**Category:** Elasticsearch\
**Created:** [November 14, 2014, 3:03pm UTC](https://discuss.elastic.co/t/advices-on-mapping-field-to-huge-text-value/20749 "2014-11-14T15:03:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roger](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@roger](https://discuss.elastic.co/u/roger)\
**Post date:** [November 14, 2014, 3:03pm UTC](https://discuss.elastic.co/t/advices-on-mapping-field-to-huge-text-value/20749/1 "2014-11-14T15:03:30Z")

</div>

Hello

I have to create a mapping to a type that will have a text field with  
values:

- that are huge (more than 32KB),
- that are very bad structured, and will have snippets like "elas tic  
search" and I need to find it when the user searches for "elasticsearch" or  
"elastic search"

I can't modify the source of the text, it is extracted from a pdf file, so  
I have to handle the issues in the type mapping

Can someone give me some advices on how to map this field?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/fa5f5189-63d9-4d83-a028-da584e12f1d3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fa5f5189-63d9-4d83-a028-da584e12f1d3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:49am UTC](https://discuss.elastic.co/t/advices-on-mapping-field-to-huge-text-value/20749/2 "2017-07-06T00:49:59Z")

</div>

Closed on July 6, 2017, 12:49am UTC


