この Railscastで説明されているように、 Tireを使用して Elasticsearch を Rails アプリに追加しました。
BonsaiアドオンでHerokuにデプロイしようとしました。このチュートリアルに従い、情報も使用した後、この質問に基づいて、このコマンドを実行してみました:
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 :
私は何を間違っていますか?