# Problem with raw field

**URL:** <https://discuss.elastic.co/t/problem-with-raw-field/28841>\
**Category:** Kibana\
**Created:** [September 8, 2015, 1:53pm UTC](https://discuss.elastic.co/t/problem-with-raw-field/28841 "2015-09-08T13:53:49Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Pieter\_Agenbag](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pieter_agenbag/32/4562_2.png) [@Pieter\_Agenbag](https://discuss.elastic.co/u/Pieter_Agenbag)\
**Post date:** [September 9, 2015, 12:49pm UTC](https://discuss.elastic.co/t/problem-with-raw-field/28841/8 "2015-09-09T12:49:39Z")

</div>

Yes, that seems to be the case. I initially thought ignore\_above ignores the bits of text longer than specified value (i.e. truncates down to the specified length) - but in reality (and according to the [docs](https://www.elastic.co/guide/en/elasticsearch/reference/1.6/mapping-core-types.html#string)) the value is completely ignored if above that length.

See this thread.

> [@String mapping: ignore\_above for not\_analyzed fields](https://discuss.elastic.co/t/string-mapping-ignore-above-for-not-analyzed-fields/26511):
>
> I have some string fields in ES with mappings like so: { "index": "analyzed", "type": "string", "fields": { "raw": { "index": "not\_analyzed", "ignore\_above": 256, "type": "string", "doc\_values": true } } } From [the docs](https://www.elastic.co/guide/en/elasticsearch/reference/1.6/mapping-core-types.html#string "the docs"), for the ignore\_above setting: The analyzer will ignore strings larger than this size. Useful for generic not\_analyzed fields that should ignore long text. What exactly does this mean? If my field is 257 characters, will the field.raw not be searchable…

😮 - I'll have to go review all My mappings now.

---

_[View the full topic](https://discuss.elastic.co/t/problem-with-raw-field/28841)._
