开发者

Thinking-sphinx and relevance or similarity score

开发者 https://www.devze.com 2022-12-27 16:22 出处:网络
Does someone know if there is a way to get the raw relevance or similarity score between a q开发者_StackOverflow社区uery and a result when using sphinx in general or thinking-sphinx as a wrapper? Any

Does someone know if there is a way to get the raw relevance or similarity score between a q开发者_StackOverflow社区uery and a result when using sphinx in general or thinking-sphinx as a wrapper? Any help is greatly appreciated.


@results.each_with_weighting do |result, weight| # ... end

from the comments on http://railscasts.com/episodes/120-thinking-sphinx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号