solr之错你知晓?

*、org.apache.solr.common.SolrException: Document [null] missing required field: id

第一种:说明在doc的配置中不存在该id字段,具体解释详见
http://www.th7.cn/Program/java/2012/05/19/76295.shtml
第二种:id前缀若与服务名相同便会出现该异常,正确性待定
http://stackoverflow.com/questions/12821782/solr-missing-required-field?answertab=active#tab-top

 

 

猜你喜欢

转载自lbovinl.iteye.com/blog/2360458