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

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

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -