Hello,
I get a long overflow in my date fields if the time is pior to 1970.
The epoch_time is a negativ long value and throws an arithmetic_exception on reindex
{
"index" : "xxx",
"type" : "_doc",
"id" : "pub.1081024675",
"cause" : {
"type" : "mapper_parsing_exception",
"reason" : "failed to parse field [date] of type [date] in document with id 'pub.1081024675'. Preview of field's value: '-950400000'",
"caused_by" : {
"type" : "arithmetic_exception",
"reason" : "long overflow"
}
},
"status" : 400
}
This solved the problem in the short term. I think in the long term I must change our code to use datestrings instead of epoch_millis. I realy hate date formats and all this conversions ^^.
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.