RSolr::Error::InvalidRubyResponse - 200 OK

孤街醉人 提交于 2019-12-05 03:40:12
Travis

I was getting this as well. My background was that I installed Solr locally and ignored everything in the solr subdirectories. So the contents of solr/pids where ignored but the file structure of solr/pids remained.

I deployed this to our dev server and encountered the above errors.

The solution turned out to be simple. The solr directory needs to be created fresh in a new environment.

  1. rake sunspot:solr:stop
  2. Delete your /solr directory.
  3. rake sunspot:solr:start
  4. rake sunspot:solr:reindex

courtesy of Can't reindex Sunspot SOLR - Error - RSolr::Error::Http - 500 Internal Server Error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!