[solr] HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not

需求描述:

启动tomcat 后,打开浏览器输入solr 的访问url ,问solr 服务时报错

错误描述:

HTTP Status 500 - {msg=SolrCore ‘collection1’ is not available due to init failure: Could not load conf for core collection1: [schema.xml] Duplicate field definition for ‘id’

解决方法:

经过我的检查发现有重复的filed域id,
[solr] HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Could not
删去了其中一条即恢复正常.