1// query-dsl/range-query.asciidoc:157 2 3[source, php] 4---- 5$params = [ 6 'body' => [ 7 'query' => [ 8 'range' => [ 9 'timestamp' => [ 10 'gte' => 'now-1d/d', 11 'lt' => 'now/d', 12 ], 13 ], 14 ], 15 ], 16]; 17$response = $client->search($params); 18---- 19