Error opening new searcher

SolrCore Initialization Failures

paper: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Index locked 

for write for core paper
question: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error 

opening new searcher


I modified the configuration file today, and then I kept getting an error when I started it. It was the above error. I found it before. I need to delete the write.lock file in solrhome/mynode/data/index in the index file, and then data/ The logs in the tlog are deleted.

Because mine is a mac environment, even if I change it like this, it still doesn't work. When I restart, I still get an error. Then I delete all three files under the index. When I restart, solr automatically creates those three files. , the startup did not report an error, so the problem was solved




Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325854991&siteId=291194637