-
5 votesanswersviews
思考Sphinx和acts_as_taggable_on插件
我在轨道2.3.2上安装了Sphinx和Thinking Sphinx for ruby . 当我无条件搜索时,搜索工作正常 . 现在,我想做的是按标签过滤,因此,当我使用acts_as_taggable_on插件时,我的公告模型如下所示: class Announcement < ActiveRecord::Base acts_as_taggable_on :tags,:catego... -
4 votesanswersviews
在使用gem时,如何包含capistrano思考sphinx任务
我使用宝石思考狮身人面像: sudo gem install freelancing-god-thinking-sphinx \ --source http://gems.github.com 所以: require 'vendor/plugins/thinking-sphinx/recipes/thinking_sphinx' 这是prescribed on the website不起作...