After indexing i have tried to get the results for the date range, but it is not giving any results.
$params = [
'query' => [
'match_all' => []
],
'filter' => [
'range' => [
'created_at' => [
'gte' => '2017-06-18',
'lte' => '2017-06-19'
]
]
],
'size' => 10
];
After indexing i have tried to get the results for the date range, but it is not giving any results. $params = [ 'query' => [ 'match_all' => [] ], 'filter' => [ 'range' => [ 'created_at' => [ 'gte' => '2017-06-18', 'lte' => '2017-06-19' ] ] ], 'size' => 10 ];