Hi,
I inserted a data whose data type is "date".
Then I tried to find the data by term query. If search query contains one value, it works but if search query contain a list of value, I get exception.
If data type of inserted data is keyword, both case works well.
I would like to know whether this is expected behavior or not.
Thank you in advance.
======================Below query doesn't work====================
"term" : {
"sell_date" : {
"value" : [
"2020-01-01",
"2020-01-02"
]
}
======================Below query works well====================
"term" : {
"sell_date" : {
"value" : "2020-01-01"
}
}
===============Exception message==================
"type": "parse_exception",
"reason": "failed to parse date field ] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field ] with format [strict_date_optional_time||epoch_millis]]",