We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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) }