Does query_string support GT operation with date?
{
"_source": {
"includes": [
"id"
]
},
"size": 20,
"sort": [
{
"published": {
"order": "DESC"
}
}
],
"query": {
"query_string": {
"query": "updated > (2014-11-01T00:00:00Z)"
}
}
}
Throw Failed to parse query [updated > (2014-11-01T00:00:00Z)]
What is wrong with my query?
Mapping is:
"updated": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ssZ"
}