12345678910111213141516171819 |
- // query-dsl/match-query.asciidoc:241
- [source, php]
- ----
- $params = [
- 'body' => [
- 'query' => [
- 'match' => [
- 'message' => [
- 'query' => 'to be or not to be',
- 'operator' => 'and',
- 'zero_terms_query' => 'all',
- ],
- ],
- ],
- ],
- ];
- $response = $client->search($params);
- ----
|