this does not seem to work:
"myDate": {
"type": "date",
"format": " yyyy-MM-dd || yyyy-MM || Y ||date_hour_minute_second",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed",
"null_value": "",
"doc_values": true
}
}
}