You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tim Butler edited this page Jan 4, 2017
·
3 revisions
The IndexExists service checks if an index exists.
// Check if the index called "twitter" existsexists, err:=client.IndexExists("twitter").Do(context.Background())
iferr!=nil {
// Handle error
}
if!exists {
// Index does not exist yet.
}