启动Solr时报 _version_ field must exist in schema 错误的解决方法

时间:2023-03-10 04:41:20
启动Solr时报  _version_ field must exist in schema 错误的解决方法

Solr启动时报

org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:

Unable to use updateLog: _version_field must exist in schema,

using indexed="true" stored="true" and multiValued="false" (_version_ does not exist)

解决的方法是:在solr的schema.xml文件中加一个 名为 _version_ 的Field

启动Solr时报  _version_ field must exist in schema 错误的解决方法