错误代码如下:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Invalid Date String:'1410943767000'
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:424) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:68) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:54) at com.secret.solr.UserSolrUtil.addSolrIndex(UserSolrUtil.java:102) at com.secret.client.service.impl.AdminSolrServiceImpl.updateSolr(AdminSolrServiceImpl.java:66) at com.secret.admin.controller.AdminSolrController.updateAllSolr(AdminSolrController.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at出现上面异常:检查你schema.xml 配置文件,时间格式类型和你数据库存放时间类型不匹配,
这里采用的解决办法是将,schema.xml中的,字段类型设置为long