无法重新索引 Sunspot SOLR - 错误 - RSolr::Error::Http - 500 内部服务器错误 [英] Can't reindex Sunspot SOLR - Error - RSolr::Error::Http - 500 Internal Server Error

查看:28
本文介绍了无法重新索引 Sunspot SOLR - 错误 - RSolr::Error::Http - 500 内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我尝试使用...重新索引时...

Everytime i try to reindex using...

耙太阳黑子:solr:reindex

rake sunspot:solr:reindex

这些错误消息总是显示:

These error messages always show:

错误 - RSolr::Error::Http - 500 内部服务器错误 - 正在重试...错误 - RSolr::Error::Http - 500 内部服务器错误 - 忽略...错误 - RSolr::Error::Http - 500 内部服务器错误 - 正在重试...错误 - RSolr::Error::Http - 500 内部服务器错误 - 忽略...

Error - RSolr::Error::Http - 500 Internal Server Error - retrying... Error - RSolr::Error::Http - 500 Internal Server Error - ignoring... Error - RSolr::Error::Http - 500 Internal Server Error - retrying... Error - RSolr::Error::Http - 500 Internal Server Error - ignoring...

我尝试停止然后开始使用...

I tried to stop then start using...

rake sunspot:solr:stop
rake sunspot:solr:start

但什么也没发生.

现在每次我尝试在本地主机上运行我的应用程序...

And now everytime I try to run my app in localhost...

这是错误:

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, change: 

 <abortOnConfigurationError>false</abortOnConfigurationError>

in null

-------------------------------------------------------------

Request Data: "<?xml version="1.0" encoding="UTF-8"?><delete><query>type:Trip</query></delete>"

比我在终端中看到的更详细的错误信息.

A more detailed error message than the one I had in terminal.

我从网上尝试了很多解决方案,例如将 Abort Configuration 设置为 false,但没有任何反应.

I tried plenty of solutions from the net like setting Abort Configuration to false, but nothing happened.

错误仍然存​​在.

任何解决方法将不胜感激.

Any work around will be appreciated.

推荐答案

解决方案:

  1. rake sunspot:solr:stop
  2. rm -rvf solr(删除你的/solr 目录)
  3. rake sunspot:solr:start
  4. rake sunspot:solr:reindex
  1. rake sunspot:solr:stop
  2. rm -rvf solr (Delete your /solr directory)
  3. rake sunspot:solr:start
  4. rake sunspot:solr:reindex

享受

这篇关于无法重新索引 Sunspot SOLR - 错误 - RSolr::Error::Http - 500 内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆