Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法计算使用 ThinkingSphinx 查询时返回的文档的排名/相关性?我有加权字段,我知道可以使用:match_mode=>:extended,:order=>"@relevance desc"但是有什么方法可以显示每个文档的计算权重吗?
:match_mode=>:extended
:order=>"@relevance desc"
我使用过 Solr,它提供了这种支持。
没用过thinkingsphinx,但在FAQ中确实找到了这个:)
http://pat.github.com/ts/en/common_issues.html#weights