Simple range query not working, why?

thanks ok, it looks like this for this field (snippet)

{
"createdAt": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}