我工作on Rails應用程序,我想使用Solr的搜索引擎,所以我安裝了最新版本solr,雖然我試圖索引我得到這個錯誤:Solr的5.3.1是給org.apache.solr.common.SolrException:錯誤:[DOC =模型ID]錯誤添加場
org.apache.solr.common.SolrException: ERROR: [doc=User 6] Error adding field 'published_at_d'='2012-07-13T20:58:58Z' msg=For input string: "2012-07-13T20:58:58Z" at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:176)
Caused by: java.lang.NumberFormatException: For input string: "2012-07-13T20:58:58Z"**
請建議可能的解決方案來解決它。我檢查了幾個網站,並嘗試使用日期格式編輯我的solrconfig.xml文件,但仍無法使用。