Hey, today I happened to write a script to solve a specific problem that it looks like a good deal of people face: rename a Elasticsearch index. Naturally, there are documented solutions but I didn’t find quickly a script that would get me where I wanted - all the data from an index named a now being queryable in an index named b with all the properties set. Note.: the following code is aimed at Elasticsearch 2.4.6. Here it comes then. Reindexing step by step There are four steps to get tow...