org.springframework.data.solr.UncategorizedSolrException: undefined field 动态域名(item-spec_网络);
nested exception is org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: undefined field 动态域名(item-spec_网络).
原因分析:是实体类字段映射配置问题.或是索引库数据问题.
首先检查索引库数据如下图:
更新索引库数据:
再次查看索引库数据:
再检查实体类的映射:
再次运行,发现问题已经解决了.