def replace(self):
with zero_downtime_index(self.alias_name, self.index_config()) as target_index:<EOL><INDENT>self.index_all(target_index)<EOL><DEDENT>
Replace index with a new one
        zero_downtime_index for safety and rollback