I need an elasticsearch php client query for range and search filter


(Akhil Prashar) #1

This is the query I wrote:
$params = ['index' => '201706','type' => 'facebook', 'body' => ['query' => ['bool' => ['filter' => ['range' => ['created_at' => ['gte' => '2017-06-25 00:00:00','lte' => '2017-09-30 00:00:00' , 'match' => ['description' => 'kashmir'] ]]]]]]];

Maybe I did something wrong :roll_eyes: . Can anyone help me with this?
Thanks.


(Mark Walkom) #2

Is this the same as I need an elasticsearch php client query for range filter?


(Akhil Prashar) #3

Yes.


(Akhil Prashar) #4

Can you help Mark?


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.