summaryrefslogtreecommitdiffstats
path: root/einterfaces
diff options
context:
space:
mode:
Diffstat (limited to 'einterfaces')
-rw-r--r--einterfaces/elasticsearch.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/einterfaces/elasticsearch.go b/einterfaces/elasticsearch.go
index f5babffe0..b82482146 100644
--- a/einterfaces/elasticsearch.go
+++ b/einterfaces/elasticsearch.go
@@ -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