Looking again the old index name is already known so some of this could be replaced with  Elastica's addAlias. Will confirm that works and update this PR.