How to Properly delete previous index before uploading a new one with different mapping

Many times when we change mapping or try to mutate some columns type , but then we get object mapping error. May be this happen because of not deleting properly last index. Then what steps must be kept in mind before again indexing data ?

To delete an index run:

DELETE your_index_name

It will remove everything including all data.

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