How to update a filed type without deleting the index or data

HI,

i want to update a filed type without deleting the index or data.

How can we achieve that?

Thanks in advanced.

PUT foo/_doc/1
{
  "foo": "bar"
}
PUT foo/_doc/1
{
  "foo": "baz"
}

Are you talking about updating the mapping type of a field in an index? If so, that is unfortunately not possible and will require you to reindex your data into a new index.

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