I have below mapping
{
"indexTest": {
"mappings": {
"indexTest_type": {
"properties": {
"date22": {
"type": "dateColumn",
"format": "yyyy-MM-dd||yyyy-MM-dd'T'HH:mm:ss||yyyy-MM-dd HH:mm:ss||yyyy-MM-dd'T'HH:mm:ss.SSS'Z'||HH:mm:ss||HH:mm:ss.SSS||epoch_millis"
}
}
}
}
}
}
indexed value
"_source": {
"dateColumn": "2017-09-01"
}
I am trying to search based on long value of date i am not getting the response . Please find search query below
GET indexTest/_search
{
"query": {
"match": {
"dateColumn": {
"query": "1504204200000"
}
}
}
}
same is working for dateTime value