How to reindex data in Elasticsearch without actually changing index names?

I have not tested it, but think it should work.