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

i have a field named "description " in a index in elastic.

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?

You can update the ignore_above arg in this way
PUT my_index/_mapping/my_type
"properties": {
"my_field": {
"ignore_above": 20,
"type": "string",

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