Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + var Quit = atomic.Pointer[chan struct{}] + func BatchIndex(ctx context.Context, objs []ObjWithParent) error + func BuildIndex(ctx context.Context, indexPaths, ignorePaths []string, maxDepth int, ...) error + func Clear(ctx context.Context) error + func Config(ctx context.Context) searcher.Config + func Del(ctx context.Context, prefix string) error + func Index(ctx context.Context, parent string, obj model.Obj) error + func Init(mode string) error + func Progress() (*model.IndexProgress, error) + func Running() bool + func Search(ctx context.Context, req model.SearchReq) ([]model.SearchNode, int64, error) + func Update(parent string, objs []model.Obj) + func WriteProgress(progress *model.IndexProgress) + type ObjWithParent struct + Parent string