lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maguba <mairon.bathagl...@gmail.com>
Subject Error in last_modified for open documents formats
Date Mon, 17 Jun 2019 14:13:50 GMT
Hello,

I install solr 8.1.1 and when I trying indexing libreoffice files (ods,
odt,...) throws:

org.apache.solr.common.SolrException: ERROR:
[doc=D42039220124097949-A100020965] Error adding field
'last_modified'='2019-06-14T16:59:47.610000000' msg=Invalid Date
String:'2019-06-14T16:59:47.610000000'

Caused by: org.apache.solr.common.SolrException: Invalid Date
String:'2019-06-14T16:59:47.610000000'
	at org.apache.solr.util.DateMathParser.parseMath(DateMathParser.java:247)
	at org.apache.solr.util.DateMathParser.parseMath(DateMathParser.java:226)
	at
org.apache.solr.schema.DatePointField.createField(DatePointField.java:214)
	at org.apache.solr.schema.PointField.createFields(PointField.java:250)
	at org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:65)
	at
org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:171)
	... 58 more

Others document formats (pdf, doc, xls,...) works without problem.

schema.xml definition:

<field name="last_modified" type="date" indexed="true" stored="true"/>
...
<fieldType name="date" class="solr.DatePointField" docValues="true"/>

Please, any idea? 

Thanks!





--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message