Versions in this module Expand all Collapse all v1 v1.8.1 May 8, 2019 Changes in this version + const RepoIndexerOpDelete + const RepoIndexerOpUpdate + func DeleteRepoFromIndexer(repoID int64) error + func InitRepoIndexer(populateIndexer func() error) + func RepoIndexerBatch() rupture.FlushingBatch + type RepoIndexerData struct + Content string + RepoID int64 + func (d *RepoIndexerData) Type() string + type RepoIndexerOp int + type RepoIndexerUpdate struct + Data *RepoIndexerData + Filepath string + Op RepoIndexerOp + func (update RepoIndexerUpdate) AddToFlushingBatch(batch rupture.FlushingBatch) error + type RepoSearchResult struct + Content string + EndIndex int + Filename string + RepoID int64 + StartIndex int + func SearchRepoByKeyword(repoIDs []int64, keyword string, page, pageSize int) (int64, []*RepoSearchResult, error)