I create an index in ES7.8 with date format "yyyy-MM-dd"
"mappings": {
"_doc": {
"properties": {
"BaseLine": {
"type": "date",
"format": "yyyy-MM-dd"
},
However, when I click the "Baseline" field on the map, the actual value passed on Filter is yyyy-MM-dd00:00:00.000Z.
Can anyone advise how can I get the correct date format "yyyy-MM-dd" in the filter?
Thanks.
Here is the sample document from a request
"hits" : [ { "_index" : "program_b", "_type" : "_doc", "_id" : "2137SD19.1", "_score" : 0.0, "_source" : { "SiteID" : 2137, "BaseLine" : "2020-04-26", "uk" : "2137SD19.1" } },