alibaba/havenask-federation

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

weizijun opened this issue · 1 comments

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

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

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