We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The DeleteIndex services allows you to drop an index.
DeleteIndex
// Delete an index ctx := context.Background() deleteIndex, err := client.DeleteIndex("twitter").Do(ctx) if err != nil { // Handle error panic(err) } if !deleteIndex.Acknowledged { // Not acknowledged }