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