Rails 4 w/ Heroku RSolr::Error::Http (RSolr::Error::Http - 404 Not Found -


my setup: rails 4, heroku websolr addon.

the solr search been working fine months rails 4 (production) application. 1 day quit , went through following stackoverflow answers , none of them worked.

answer 1, answer 2, answer 3

since didn't have java installed @ 1 point, pretty tedious go through, need mention before answer went through 3 answers before solved it, did above may have enabled it.

took me full day of sifting through answers , gut application , remove solr altogether.

i solved going heroku dashboard, clicking websolr addon icon took me websolr page heroku app. deleted index there default , set new 1 new name.

once new index has been created, copy , paste text in field labeled configure heroku application

lastly, went terminal , entered these commands.

$ heroku config:add websolr_url=[url_goes_here]

$ heroku restart

everything works fine now.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -