From 185ed89978e0d88d75b5c606104e78058753bd4d Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Thu, 26 Jul 2018 15:50:38 +0100 Subject: MM-11243: Make Elasticsearch work after enabling without restart. (#9146) * MM-11243: Make Elasticsearch work after enabling without restart. * Also cope with config vars changing whilst enabled. --- einterfaces/elasticsearch.go | 1 + 1 file changed, 1 insertion(+) (limited to 'einterfaces') diff --git a/einterfaces/elasticsearch.go b/einterfaces/elasticsearch.go index 1b7444b2b..bf24dc577 100644 --- a/einterfaces/elasticsearch.go +++ b/einterfaces/elasticsearch.go @@ -11,6 +11,7 @@ import ( type ElasticsearchInterface interface { Start() *model.AppError + Stop() *model.AppError IndexPost(post *model.Post, teamId string) *model.AppError SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams) ([]string, model.PostSearchMatches, *model.AppError) DeletePost(post *model.Post) *model.AppError -- cgit v1.2.3-1-g7c22