Documentation ¶
Index ¶
- func SearchQuery(query string) (res []string, err error)
- func SearchRecall(ctx context.Context, query string) (res []*types.SearchItem, err error)
- type Recall
- func (r *Recall) Multiplex(ctx context.Context, query string, iRes, vRes []int64) (resp []*types.SearchItem, err error)
- func (r *Recall) Search(ctx context.Context, query string) (resp []*types.SearchItem, err error)
- func (r *Recall) SearchQueryWord(query string) (resp []string, err error)
- func (r *Recall) SearchVector(ctx context.Context, queries []string) (docIds []int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchRecall ¶
SearchRecall 词条回归
Types ¶
type Recall ¶
type Recall struct { }
Recall 查询召回
func (*Recall) Multiplex ¶ added in v0.1.3
func (r *Recall) Multiplex(ctx context.Context, query string, iRes, vRes []int64) (resp []*types.SearchItem, err error)
Multiplex 多路融合排序
func (*Recall) SearchQueryWord ¶ added in v0.1.2
SearchQueryWord 入口词语联想
Click to show internal directories.
Click to hide internal directories.