I am using java REST client api to fetch data from elasticsearch. Here i am fetching data based on id ie, "twitter/tweet/1", but i want to retrieve all the the records for the given date. is there any way to filter it?
This?
GET _search
{
"query": {
"range" : {
"created_at" : {
"gte": "01/01/2017"
}
}
}
}