PLT-6595: API to purge Elasticsearch indexes. (#6971)

Этот коммит содержится в:
George Goldberg
2017-07-19 09:43:05 +01:00
коммит произвёл GitHub
родитель 97f34e483b
Коммит fe368a7456
6 изменённых файлов: 58 добавлений и 0 удалений

Просмотреть файл

@@ -11,6 +11,7 @@ type ElasticsearchInterface interface {
SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams) ([]string, *model.AppError)
DeletePost(postId string) *model.AppError
TestConfig(cfg *model.Config) *model.AppError
PurgeIndexes() *model.AppError
}
var theElasticsearchInterface ElasticsearchInterface