fix: filename char mapping while build index

This commit is contained in:
Noah Hsu
2022-11-28 21:08:11 +08:00
parent 76f37373e0
commit e98561ceb1
6 changed files with 21 additions and 17 deletions

View File

@ -17,7 +17,7 @@ type Searcher interface {
// Search specific keywords in specific path
Search(ctx context.Context, req model.SearchReq) ([]model.SearchNode, int64, error)
// Index obj with parent
Index(ctx context.Context, parent string, obj model.Obj) error
Index(ctx context.Context, node model.SearchNode) error
// Get by parent
Get(ctx context.Context, parent string) ([]model.SearchNode, error)
// Del with prefix