Skip to content

milvus-stanalone混合索引实际的计算结果不正确 #41945

Discussion options

You must be logged in to vote

对于不同的metric type计算出的distance,由于range不同,要用一个activate function把distance映射到同一个 [0.0, 1.0]的空间,这样才能使得不同metric type的sub request能在同一空间计算ranker

因此,0.510和0.395先分别被 (1+distance)*0.5 计算,再做weighted ranker
具体计算是 (1 + 0.510) * 0.5 * 0.7 + (1 + 0.395) * 0.5 * 0.2 = 0.668

这里有详细解释: #41364 (comment)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ztyf-lq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants