Skip to content
Maren Heltsche edited this page Dec 22, 2021 · 7 revisions

Create new index

bundle exec rake elasticsearch:import:all

Change elastic version on production

We use the add-on Searchbox https://devcenter.heroku.com/articles/searchbox

  1. Heroku Maintenance Mode ON heroku maintenance:on --app speakerinnen-liste

  2. Log in to Heroku —> delete Search Box add-on

  3. Reinstall Searchbox via heroku cli heroku addons:add searchbox:starter --es_version=6.8.22 --app speakerinnen-liste

  4. Check config vars & restart app

  5. Go to heroku console Profile.__elasticsearch__.create_index! force: true

  6. Import Profiles heroku run rake RAILS_ENV=production elasticsearch:import:all --app speakerinnen-liste

  7. Heroku Maintenance Mode OFF heroku maintenance:off --app speakerinnen-liste