diff options
author | George Goldberg <george@gberg.me> | 2018-07-26 15:50:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 15:50:38 +0100 |
commit | 185ed89978e0d88d75b5c606104e78058753bd4d (patch) | |
tree | f7950dbbc6f429618f7bb0aa45ccdf613b8afc19 /einterfaces/elasticsearch.go | |
parent | 8948b91d7a80169b12907e16581cfdd53bbb73f1 (diff) | |
download | chat-185ed89978e0d88d75b5c606104e78058753bd4d.tar.gz chat-185ed89978e0d88d75b5c606104e78058753bd4d.tar.bz2 chat-185ed89978e0d88d75b5c606104e78058753bd4d.zip |
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.
Diffstat (limited to 'einterfaces/elasticsearch.go')
-rw-r--r-- | einterfaces/elasticsearch.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 |