PLT-6474: Server: Add elasticsearch/test endpoint to API. (#6792)

This commit is contained in:
George Goldberg
2017-06-29 22:40:14 +01:00
committed by Joram Wilander
parent a4f363a50b
commit f2898927f1
7 changed files with 106 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ type ElasticSearchInterface interface {
IndexPost(post *model.Post, teamId string)
SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams) ([]string, *model.AppError)
DeletePost(postId string)
TestConfig() *model.AppError
}
var theElasticSearchInterface ElasticSearchInterface