{msg=SolrCore 'collection1' is not available due to init failure: Could not load conf for core colle

刚安装配置好solr后出现了此错误:{msg=SolrCore 'collection1' is not available due to init failure: Could not load conf for core collection1: Error loading solr config from /usr/solr/solrhome/collection1/conf/solrconfig.xml,trace=org.apache.solr.common.SolrException: SolrCore 'collection1


解决办法是:

solrhome目录建立文件solr.xml,内容:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<solr> 
</solr>


猜你喜欢

转载自blog.csdn.net/stronghyq/article/details/79796849