def remove_index ( self ) : self . index_client . close ( self . index_name ) self . index_client . delete ( self . index_name )
python index object remove
Remove Elasticsearch index associated to the campaign
def remove_index(self):
        """Remove Elasticsearch index associated to the campaign"""
        self.index_client.close(self.index_name)
        self.index_client.delete(self.index_name)