diff --git a/algolia/search/index_interface.go b/algolia/search/index_interface.go index 3209aca4f..2a387b221 100644 --- a/algolia/search/index_interface.go +++ b/algolia/search/index_interface.go @@ -9,6 +9,7 @@ type IndexInterface interface { GetAppID() string ClearObjects(opts ...interface{}) (res UpdateTaskRes, err error) Delete(opts ...interface{}) (res DeleteTaskRes, err error) + Exists() (exists bool, err error) // Indexing GetObject(objectID string, object interface{}, opts ...interface{}) error