Rake Searchkick Reindex在Heroku搜索框中不起作用



我将代码通过运行 heroku run rake rake搜索kick:reidindex class = listing ,我做 heroku,我无法在Heroku中reindectex。运行耙子DB:迁移

rake aborted!
Faraday::TimeoutError: Net::ReadTimeout
/app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:82:in `perform_request'
/app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:in `block in call'
/app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in `with_net_http_connection'
/app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/searchkick-1.3.0/lib/searchkick/middleware.rb:9:in `call'
/app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
/app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
/app/vendor/bundle/ruby/2.2.0/gems/elasticsearch-transport-1.0.17/lib/elasticsearch/transport/transport/http/faraday.rb:21:in `block in perform_request'

检查您已安装了弹性搜索并运行

最新更新