# Elasticsearch php client

**URL:** <https://discuss.elastic.co/t/elasticsearch-php-client/97761>\
**Category:** Elasticsearch\
**Created:** [August 21, 2017, 11:52am UTC](https://discuss.elastic.co/t/elasticsearch-php-client/97761 "2017-08-21T11:52:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akhil\_Prashar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akhil_prashar/32/20313_2.png) [@Akhil\_Prashar](https://discuss.elastic.co/u/Akhil_Prashar)\
**Post date:** [August 21, 2017, 11:52am UTC](https://discuss.elastic.co/t/elasticsearch-php-client/97761/1 "2017-08-21T11:52:44Z")

</div>

Can anyone tell me what's wrong with this statement?  
$params['body']['query']['bool']['must']['range']['created\_at']['gte'] = $from['lte'] = $to['should']['match']['\_all'][$datasourcefields] = $keyword;

Thanks,  
Akhil

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 18, 2017, 11:53am UTC](https://discuss.elastic.co/t/elasticsearch-php-client/97761/2 "2017-09-18T11:53:13Z")

</div>

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