I am using Tire gem in rails application for elasticsearch and for heroku i am using seachbox add-on.Things are working perfectly in my local machine but on heroku it gives an error while creating and index which is
[ERROR] There has been an error when creating the index -- elasticsearch returned:500 : {"error":{"root_cause":[{"type":"exception","reason":"No feature for name [/appointments]"}],"type":"exception","reason":"No feature for name [/appointments]"},"status":500}
My production.rb
contains the url configuration which tire needs
Tire.configure do
url ENV['SEARCHBOX_URL']
end
Does this need any further configurations for index creating as when i run even rails console
on heroku it gives me same error every time.