Is there any way to edit an existing type. I have a field "calculated_weight" which is currently a string. I want it to be long so that i can calculate the sum.
I tried this
PUT /mm-logs-* { "mappings": { "properties": { "message": { "properties": { "calculated_weight": { "type": "long" } } } } } }
But it failed with permission problem.