【发布时间】:2013-11-04 14:26:46
【问题描述】:
如this Railscast 中所述,我已使用Tire 将elasticsearch 添加到我的Rails 应用程序中。
我尝试使用 Bonsai 插件部署到 Heroku。在关注this tutorial 并使用信息 w 基于this question 之后,我尝试运行此命令:
heroku run rake environment tire:import CLASS=Document FORCE=true
(Document 当然是我模型的名字。)
但我不断收到此错误消息:
Running `rake environment tire:import CLASS=Document FORCE=true` attached to terminal... up, run.4773
[IMPORT] Deleting index 'documents'
[IMPORT] Creating index 'documents' with mapping:
{"document":{"properties":{}}}
[ERROR] There has been an error when creating the index -- Elasticsearch returned:
504 :
我做错了什么?
【问题讨论】:
标签: heroku elasticsearch tire