好的,所以我有一个简单的rails应用程序,现在我正在尝试为搜索功能实现太阳黑子.但是,在我使用rails g sunspot_rails生成配置文件之后:安装并在我启动服务器之后它已经在我的rails app-dir中生成了solr-dir并且我运行了bundle exec rake sunspot:solr:reindex I获得以下跟踪:
cakism@saraswati:~/railscode/calendar$ bundle exec rake sunspot:solr:reindex --trace
** Invoke sunspot:solr:reindex (first_time)
** Invoke sunspot:reindex (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute sunspot:reindex
Skipping progress bar: for progress reporting, add gem 'progress_bar' to your Gemfile
rake aborted!
RSolr::Error::Http - 500 Internal Server Error
Error: Severe errors in solr configuration.
Check your log files for more detailed information on what may be wrong.
If you want solr to continue after configuration errors, …Run Code Online (Sandbox Code Playgroud)