'Elasticsearch parse error occurs while matching time
I'm trying to filter and query Elasticsearch data from matching timestamp value. here in data I have document like this,
{
"_index": "pred",
"_type": "_doc",
"_id": "LL7ErHcfZ",
"_version": 1,
"_score": 1,
"_source": {
"ds": "2022-04-27T13:00:00+05:30",
"yhat": 1688.6340490707357,
"yhat_upper": 8295.387468189523,
}
the timestamp values I'm gonna match are similar.
2022-04-27T13:00:00+05.30
2022-04-27T14:00:00+05.30
But attempting this cause an error I'm not familiar with and couldn't find anywhere else.
error:
RequestError(400, 'search_phase_execution_exception', 'failed to parse date field [2022-04-27T13:00:00+05.30] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [2022-04-27T13:00:00+05.30] with format [strict_date_optional_time||epoch_millis]]')
RequestError(400, 'search_phase_execution_exception', 'failed to parse date field [2022-04-27T14:00:00+05.30] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [2022-04-27T14:00:00+05.30] with format [strict_date_optional_time||epoch_millis]]')
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
