we have a problem with bulk requests:
[ElasticsearchException[Elasticsearch exception [type=mapper_parsing_exception, reason=failed to parse field [clientBirthday] of type [date] in document with id 'lBWSpo0B8qwsp5c23HPA'. Preview of field's value: '-386391600']]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=failed to parse date field [-386391600] with format [epoch_millis]]]; nested: ElasticsearchException[Elasticsearch exception [type=date_time_parse_exception, reason=date_time_parse_exception: Failed to parse with all enclosed parsers]];]
{
"error" : {
"root_cause" : [
{
"type" : "mapper_parsing_exception",
"reason" : "failed to parse field [clientBirthday] of type [date] in document with id '1'. Preview of field's value: '-386391600'"
}
],
"type" : "mapper_parsing_exception",
"reason" : "failed to parse field [clientBirthday] of type [date] in document with id '1'. Preview of field's value: '-386391600'",
"caused_by" : {
"type" : "illegal_argument_exception",
"reason" : "failed to parse date field [-386391600] with format [epoch_millis]",
"caused_by" : {
"type" : "date_time_parse_exception",
"reason" : "Failed to parse with all enclosed parsers"
}
}
},
"status" : 400
}
I don't think this is possible, according to some github issues the support for negative epoch was removed on version 7, but added back later on version 8.2.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.