I have date field with date data type. and time with string data type. Also I have @timestamp field with date data type.
I need to run query on them, but I don’t know. I don’t use SQL, I use DSL.
It’s better to explain my question with my example, I have the following DSL:
GET _search
{
"query": {
"range": {
"release_date":{
"gte": "2024-06-16",
"lte" : "2024-06-20".
"format": "yyyy-MM-dd"
}
}
}
}
But I don’t get any result and I have code 200 OK.