feat: add database non full text index (close #2916)
This commit is contained in:
@ -15,7 +15,7 @@ func (D DB) Config() searcher.Config {
|
||||
}
|
||||
|
||||
func (D DB) Search(ctx context.Context, req model.SearchReq) ([]model.SearchNode, int64, error) {
|
||||
return db.SearchNode(req)
|
||||
return db.SearchNode(req, true)
|
||||
}
|
||||
|
||||
func (D DB) Index(ctx context.Context, node model.SearchNode) error {
|
||||
|
Reference in New Issue
Block a user