Versions in this module Expand all Collapse all v6 v6.0.0 Dec 23, 2020 Changes in this version + const CHANNEL_INDEX + const DELETE_POSTS_BATCH_SIZE + const ENGINE_NAME + const POST_INDEX + const USER_INDEX + type BLVChannel struct + Id string + NameSuggest []string + TeamId []string + func BLVChannelFromChannel(channel *model.Channel) *BLVChannel + type BLVPost struct + Attachments string + ChannelId string + CreateAt int64 + Hashtags []string + Id string + Message string + TeamId string + Type string + UserId string + func BLVPostFromPost(post *model.Post, teamId string) *BLVPost + func BLVPostFromPostForIndexing(post *model.PostForIndexing) *BLVPost + type BLVUser struct + ChannelsIds []string + Id string + SuggestionsWithFullname []string + SuggestionsWithoutFullname []string + TeamsIds []string + func BLVUserFromUserAndTeams(user *model.User, teamsIds, channelsIds []string) *BLVUser + func BLVUserFromUserForIndexing(userForIndexing *model.UserForIndexing) *BLVUser + type BleveEngine struct + ChannelIndex bleve.Index + Mutex sync.RWMutex + PostIndex bleve.Index + UserIndex bleve.Index + func NewBleveEngine(cfg *model.Config, jobServer *jobs.JobServer) *BleveEngine + func (b *BleveEngine) DataRetentionDeleteIndexes(cutoff time.Time) *model.AppError + func (b *BleveEngine) DeleteChannel(channel *model.Channel) *model.AppError + func (b *BleveEngine) DeleteChannelPosts(channelID string) *model.AppError + func (b *BleveEngine) DeletePost(post *model.Post) *model.AppError + func (b *BleveEngine) DeleteUser(user *model.User) *model.AppError + func (b *BleveEngine) DeleteUserPosts(userID string) *model.AppError + func (b *BleveEngine) GetName() string + func (b *BleveEngine) GetVersion() int + func (b *BleveEngine) IndexChannel(channel *model.Channel) *model.AppError + func (b *BleveEngine) IndexPost(post *model.Post, teamId string) *model.AppError + func (b *BleveEngine) IndexUser(user *model.User, teamsIds, channelsIds []string) *model.AppError + func (b *BleveEngine) IsActive() bool + func (b *BleveEngine) IsAutocompletionEnabled() bool + func (b *BleveEngine) IsIndexingEnabled() bool + func (b *BleveEngine) IsIndexingSync() bool + func (b *BleveEngine) IsSearchEnabled() bool + func (b *BleveEngine) PurgeIndexes() *model.AppError + func (b *BleveEngine) RefreshIndexes() *model.AppError + func (b *BleveEngine) SearchChannels(teamId, term string) ([]string, *model.AppError) + func (b *BleveEngine) SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams, ...) ([]string, model.PostSearchMatches, *model.AppError) + func (b *BleveEngine) SearchUsersInChannel(teamId, channelId string, restrictedToChannels []string, term string, ...) ([]string, []string, *model.AppError) + func (b *BleveEngine) SearchUsersInTeam(teamId string, restrictedToChannels []string, term string, ...) ([]string, *model.AppError) + func (b *BleveEngine) Start() *model.AppError + func (b *BleveEngine) Stop() *model.AppError + func (b *BleveEngine) TestConfig(cfg *model.Config) *model.AppError + func (b *BleveEngine) UpdateConfig(cfg *model.Config) Other modules containing this package github.com/adacta-ru/mattermost-server/v5