我已经通过github中的文档:http://github.com/outoftime/sunspot找到突出显示的解决方案,但它似乎并不适用于我。 我的工作模式有这样的块(省略目的某些字段):
searchable do
text :name
string :name, :stored => true
time :updated_at
tim
Sql Server 2008在其FTS功能中本身不支持命中突出显示,目前您必须自己实现using a variety of techniques。 Microsoft有made some vague noises将其包含在未来的SQL Server版本中。 有谁知道SQL Server 2012 FTS是否会支持点击高亮?