Reindex changing types

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

I edited your post.

  1. Define an ingest pipeline which uses https://www.elastic.co/guide/en/elasticsearch/reference/master/convert-processor.html
  2. Use this ingest pipeline in the reindex operation.