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

前端 未结 9 967
执念已碎
执念已碎 2020-12-18 22:46

Everytime i try to reindex using...

rake sunspot:solr:reindex

These error messages always show:

Error - R

9条回答
  •  青春惊慌失措
    2020-12-18 23:12

    For those of you that are using Websolr in Heroku production and getting this error when reindexing:

    Remember that you have to upload your schema.xml manually in the Websolr admin GUI, under the "Advanced Configuration" tab when viewing your index. Here's the direct link: https://websolr.com/slices//schema

    You can get the from running heroku config and getting it from the last part of your WEBSOLR_URL that looks like this: http://index.websolr.com/solr/

    I ran into this error because I mistakenly assumed that Websolr would just use the schema.xml that I committed to git and pushed to heroku together with all the other /solr/conf files.

提交回复
热议问题