使用Sphinxsearch,我如何显示与结果匹配的关键字的百分比?
例如,我的用户表中有这两行:
Paul Smith, Belgium
Maher AbouAbbas, Russian Federation
如果查询是“Maher Russian Belgium”,我想显示:
[33%] Paul Smith, Belgium (Belgium matches)
[66%] Maher AbouAbbas, Russian Federation (Maher and Russian matches)