具体报错如下
SolrCore Initialization Failures
new_core: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core new_core: Can't load schema /www/server/solr/new_core/conf/managed-schema: Unknown fieldType 'long' specified on field item_price
Please check your logs for more information
修改的方法很简单,把long改成plong即可。
改完之后不要忘了重启tomcat。