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

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.

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

1 Like

Yes.

Can you help Mark?

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