solrcore is not available due to init failure: Error opening new searcher

文章目录
  1. 1. 原文
  2. 2. 翻译

服务器 solrt 突然挂了,查看solr控制面板和日志都报这个错误,没有做任何更新,网上查阅资料解决

原文

From the feedback received from @Haneen Daoud, I have looked at my corrupted cores in slave Solr. I see all the folders for the corrupted cores are present and understood from the logs that one of the segments of index is corrupted because of 100% memory utilization happened which is because of few error logs.

I see conf, data folders and core.properties text file in the /var/Solr/data/Sitecore_analytics_index core. Data folder under path /var/Solr/data/Sitecore_analytics_index has the index folder and index.properties, replication.properties text files. I have deleted this data folder and restarted solr and this fixed the issue.

翻译

找到你的 solr 节点目录,将目录 [colorb]data/index/[/colorb] 下面的所有删除,重启 solr 即可

[u]一开始网上查阅资料的时候,有人说只需要删除文件[colorg]data/index/write.lock[/colorg],经过测试不行 [/u]

评论