# How to increase ignore above limit of a field in a elastic index?

**URL:** <https://discuss.elastic.co/t/how-to-increase-ignore-above-limit-of-a-field-in-a-elastic-index/79397>\
**Category:** Elasticsearch\
**Created:** [March 21, 2017, 11:26am UTC](https://discuss.elastic.co/t/how-to-increase-ignore-above-limit-of-a-field-in-a-elastic-index/79397 "2017-03-21T11:26:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sabyasachi\_mallick](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@sabyasachi\_mallick](https://discuss.elastic.co/u/sabyasachi_mallick)\
**Post date:** [March 21, 2017, 11:26am UTC](https://discuss.elastic.co/t/how-to-increase-ignore-above-limit-of-a-field-in-a-elastic-index/79397/1 "2017-03-21T11:26:05Z")

</div>

i have a field named "description " in a index in elastic.  
`"description":{"type":"string","norms":{"enabled":false},"fielddata":{"format":"disabled"},"fields":{"raw":{"type":"string","index":"not_analyzed","ignore_above":256}}}`

but i want to change ignore\_above field limit because i am getting longer strings in this field.  
How can i update this field through put command or is there any other way to this?

---

<div class="post-metadata">

**Author:** ![wenpos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wenpos/32/15326_2.png) [@wenpos](https://discuss.elastic.co/u/wenpos)\
**Post date:** [March 21, 2017, 11:55am UTC](https://discuss.elastic.co/t/how-to-increase-ignore-above-limit-of-a-field-in-a-elastic-index/79397/2 "2017-03-21T11:55:34Z")

</div>

You can update the ignore\_above arg in this way  
PUT my\_index/\_mapping/my\_type  
{  
"properties": {  
"my\_field": {  
"ignore\_above": 20,  
"type": "string",  
"index":"not\_analyzed"  
}  
}  
}

---

<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:** [April 18, 2017, 11:55am UTC](https://discuss.elastic.co/t/how-to-increase-ignore-above-limit-of-a-field-in-a-elastic-index/79397/3 "2017-04-18T11:55:48Z")

</div>

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