Hi,

 I have a problem with dateformat not recognized in ods document:

Environment:

------------------


ubuntu 20.04, lxd container

openjdk version "14.0.2" 2020-07-14

solr 8.8.2


Problem:

----------

Indexer fails with a LibreOffice document .ods file:

SimplePostTool: WARNING: Response: {
"responseHeader":{
"status":400,
"QTime":552},
"error":{
"metadata":[
"error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.common.SolrException"],
"msg":"ERROR: [doc=XXX.ods] Error adding field 'last_modified'='2019-01-08T00:22:05.772138594' msg=Invalid Date String:'2019-01-08T00:22:05.772138594'",
"code":400}}

But i don't understand why: the date format looks ok for me.

The doc says that subseconds would be truncated if too long, and Z for utc is not mandatory isn't it?


And question 2: how to tell solr to turn an invalid date format into a valid one on the fly, or to recognize a new format?


Regards,

Gaétan

Reply via email to