File manager - Edit - /var/www/payraty/helpdesk/vendor/elasticsearch/elasticsearch/docs/examples/f29a28fffa7ec604a33a838f48f7ea79.asciidoc
Back
// query-dsl/query_filter_context.asciidoc:62 [source, php] ---- $params = [ 'body' => [ 'query' => [ 'bool' => [ 'must' => [ [ 'match' => [ 'title' => 'Search', ], ], [ 'match' => [ 'content' => 'Elasticsearch', ], ], ], 'filter' => [ [ 'term' => [ 'status' => 'published', ], ], [ 'range' => [ 'publish_date' => [ 'gte' => '2015-01-01', ], ], ], ], ], ], ], ]; $response = $client->search($params); ----
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings