func drop_index(client *elastic.Client, index string) error { _, err := client.DeleteIndex(index).Do() return err }