Hi Team,
I have a use case like, I have to get the document for every 6 hours
I do like creationDate >= current_timestamp - interval '6 hour' in DB
But how do I get this in elastic search ?
My mapping
"creationDate": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss",
"doc_values": true
},
I am using elasticsearch 1.3.7
Kindly anybody help me on this..
Thanks in advance.