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
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
That doesn't look like valid PHP or ES query dsl. What are you trying to do?
Can you post the full snippet of code?
thanks man, but I have resolved the issue.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.