How do I get Solr back up when indexes are locked and true doesn't work?

后端 未结 5 1606
旧时难觅i
旧时难觅i 2021-02-15 16:10

I have a Solr slave that is running in Tomcat. I added a core, so I changed solr.xml. To reload it I decided to simply restart Tomcat using the Windows Services managament conso

相关标签:
5条回答
  • 2021-02-15 16:41

    Clear the index directory and restart solr. It will work

    0 讨论(0)
  • 2021-02-15 16:45

    Delete only write.log in data/index . Where is data directory is specified in conf/solrconfig.xml.

    0 讨论(0)
  • 2021-02-15 16:45

    In case the other answers don't work, check your file permissions. In my case, I had to do a

    chown -R tomcat6:tomcat6 /opt/solr/corename

    0 讨论(0)
  • 2021-02-15 16:49

    Just deleted write.lock file under Solr > My Core > data > Index > write.lock file and restart solr server and it's worked.

    0 讨论(0)
  • 2021-02-15 16:57

    Delete file write.log in folder /data/index/ for your core then restart tomcat. It worked for me.

    0 讨论(0)
提交回复
热议问题