my index save data structure is the pic below:
index info:
"1":{
"aliases":{},
"mappings":{
"properties":{
"DeviceId":{
"type":"text",
"fields":{
"keyword":{
"type":"keyword",
"ignore_above":256
}
}
},
"Duration":{
"type":"text",
"fields":{
"keyword":{
"type":"keyword",
"ignore_above":256
}
}
},
"FileName":{
"type":"text",
"fields":{
"keyword":{
"type":"keyword",
"ignore_above":256
}
},
"fielddata":true
},
"Hls":{
"type":"text",
"fields":{
"keyword":{
"type":"keyword",
"ignore_above":256
}
}
},
"StartAt":{
"type":"text",
"fields":{
"keyword":{
"type":"keyword",
"ignore_above":256
}
}
}
}
},
"settings":{
"index":{
"creation_date":"1589015659889",
"number_of_shards":"1",
"number_of_replicas":"1",
"uuid":"JRmRGN7GSpOU4NfrHyTJ_g",
"version":{
"created":"7060299"
},
"provided_name":"1"
}
}
}
}
I have a requirement to search the filename field. FileName 's structure is IndexName/YYYYMMDD/hhmmss.m3u8.
I need to find out which day of the month there is a file name record.
Date infomation is only stored in FileName.
Any Sugguestion?