Adding paging to elasticsearch API. (#9425)

Этот коммит содержится в:
Christopher Speller
2018-09-26 07:27:04 -07:00
коммит произвёл Harrison Healey
родитель bfec808e53
Коммит 37e00ef916
6 изменённых файлов: 68 добавлений и 32 удалений

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

@@ -13,7 +13,7 @@ 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)
SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams, page, perPage int) ([]string, model.PostSearchMatches, *model.AppError)
DeletePost(post *model.Post) *model.AppError
TestConfig(cfg *model.Config) *model.AppError
PurgeIndexes() *model.AppError