I am trying to return current date data between set times. The query below is returning all data for today. The tricky bit that I am finding to do is to only return the data between midnight and 1pm for today.
How can I attempt this? FYI – the doctype ‘VT’ has value of 2017-10-13 04:35:02.33 Not sure if that might help
POST _search
{
"query": {
"range": {
"VT": {
"gte": "now/d"
}
}
}
}