Ruby on rails ThinkingSphinx(和Heroku Flying Sphinx)-获取未知列错误

Ruby on rails ThinkingSphinx(和Heroku Flying Sphinx)-获取未知列错误,ruby-on-rails,ruby,heroku,sphinx,thinking-sphinx,Ruby On Rails,Ruby,Heroku,Sphinx,Thinking Sphinx,我正在开发一个Rails应用程序,使用ThinkingSphinx进行搜索。它部署在Heroku上,我使用他们的插件飞行狮身人面像。在我的本地开发机器上,它可以工作,但一开始我遇到了相同的错误: ThinkingSphinx::SphinxError (unknown column: 'question' ... 执行: rake ts:rebuild 足够让它在我本地的机器上工作。但我在生产环境中仍然会遇到相同的错误,尽管使用了: heroku run bundle exec flying

我正在开发一个Rails应用程序,使用
ThinkingSphinx
进行搜索。它部署在Heroku上,我使用他们的插件飞行狮身人面像。在我的本地开发机器上,它可以工作,但一开始我遇到了相同的错误:

ThinkingSphinx::SphinxError (unknown column: 'question' ...
执行:

rake ts:rebuild
足够让它在我本地的机器上工作。但我在生产环境中仍然会遇到相同的错误,尽管使用了:

heroku run bundle exec flying-sphinx rebuild
相关索引文件如下所示:

ThinkingSphinx::Index.define :competition, :with => :real_time do
  indexes name
  # This index seems to be causing the error:
  indexes question
  indexes user(:name), as: :idea_user
  indexes taggings.tag(:name), :as => :idea_tags

  has user_id, type: :integer
  has team_id, type: :integer
  has created_at, type: :timestamp
  has updated_at, type: :timestamp

  has start_date, type: :timestamp
  has end_date, type: :timestamp

end
我的
问题
属性以前被称为
说明
。我认为跑步:

heroku run bundle exec flying-sphinx rebuild 
这足以更新我的索引(在我的本地机器上就足够了),但似乎没有什么帮助


关于如何解决这个问题,有什么想法吗?

简单的停机显然没有帮助

此外,如果您使用的是实时索引,则希望运行“重新生成”而不是“重建”:

heroku run bundle exec flying-sphinx regenerate

怀疑这可能与DNSSimple上的DDoS攻击有关,flying-sphinx.com似乎失败了。