# UTF8 encoding is longer than the max length 32766

**URL:** <https://discuss.elastic.co/t/utf8-encoding-is-longer-than-the-max-length-32766/816>\
**Category:** Elasticsearch\
**Created:** [May 18, 2015, 2:20am UTC](https://discuss.elastic.co/t/utf8-encoding-is-longer-than-the-max-length-32766/816 "2015-05-18T02:20:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 18, 2015, 4:51am UTC](https://discuss.elastic.co/t/utf8-encoding-is-longer-than-the-max-length-32766/816/2 "2015-05-18T04:51:05Z")

</div>

You can try `ignore_above: 256`

From [the docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-core-types.html#mapping-core-types);

> ignore\_above  
> The analyzer will ignore strings larger than this size. Useful for generic not\_analyzed fields that should ignore long text.

---

_[View the full topic](https://discuss.elastic.co/t/utf8-encoding-is-longer-than-the-max-length-32766/816)._
