Rails app: Solr throwing RSolr::Error::Http - 404 Not Found when executing search

后端 未结 7 592
甜味超标
甜味超标 2020-12-13 14:15

Very lost as I haven\'t made any changes to my search which has always been working but somehow I\'ve got a break. Being relatively new to Rails, the error output isn\'t giv

7条回答
  •  情话喂你
    2020-12-13 14:33

    @Marko Taponen's solution worked for me for a while, but now I'm back, because this problem reared its ugly head again, this time in my rpsec/capybara tests.

    Here's what fixed it for me:

    On the command line:

    bundle exec rake sunspot:solr:stop
    

    After doing this, I ran my tests again, and it worked.!

提交回复
热议问题