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.
Этот коммит содержится в:
George Goldberg
2018-07-26 15:50:38 +01:00
коммит произвёл GitHub
родитель 8948b91d7a
Коммит 185ed89978
4 изменённых файлов: 61 добавлений и 5 удалений

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

@@ -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