We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e754179 commit 4dcc80fCopy full SHA for 4dcc80f
docs/joining-queries.md
@@ -9,7 +9,7 @@ You can use `Elastic\ScoutDriverPlus\Support\Query::nested()` to build a [nested
9
```php
10
$query = Query::nested()
11
->path('author')
12
- ->query(Query::match()->field('author.name')->field('Steven'));
+ ->query(Query::match()->field('author.name')->query('Steven'));
13
14
$searchResult = Book::searchQuery($query)->execute();
15
```
@@ -93,7 +93,7 @@ $searchResult = Book::searchQuery($query)->execute();
93
94
95
96
- ->query(Query::match()->field('author.name')->field('Steven'))
+ ->query(Query::match()->field('author.name')->query('Steven'))
97
->scoreMode('avg');
98
99
0 commit comments