We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The IndexNames shortcut returns all index names of an Elasticsearch cluster.
IndexNames
names, err := client.IndexNames() if err != nil { // Handle error panic(err) } for _, name := range names { fmt.Printf("%s\n", name) }