alibaba / havenask-federation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

向量查询支持默认按向量相似度排序

weizijun opened this issue · comments

使用vectorscore这个udf,示例如下:

select id,url, vectorscore('vec') as _score from table where MATCH_INDEX('vec', xxx) order by _score desc

#286 实现了该功能,并支持了多个向量字段的score