Skip to content

Commit 0777f47

Browse files
authored
Update README.md
1 parent 2cc8125 commit 0777f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Search::add(Post::class, ['comments.body'])
243243

244244
### Full-Text Search
245245

246-
You may use [MySQL's Full-Text Search](https://laravel.com/docs/master/queries#full-text-where-clauses) by using the `addFullText` method. You can search through a single or multiple columns (using [full text indexes](https://laravel.com/docs/master/migrations#available-index-types)), and you can specify a set of options, for example, to specify the mode. You can even regular and full-text searches in one query:
246+
You may use [MySQL's Full-Text Search](https://laravel.com/docs/master/queries#full-text-where-clauses) by using the `addFullText` method. You can search through a single or multiple columns (using [full text indexes](https://laravel.com/docs/master/migrations#available-index-types)), and you can specify a set of options, for example, to specify the mode. You can even mix regular and full-text searches in one query:
247247

248248
```php
249249
Search::new()
@@ -260,7 +260,7 @@ Search::new()
260260
->addFullText(Page::class, [
261261
'posts' => ['title', 'body'],
262262
'sections' => ['title', 'subtitle', 'body'],
263-
], )
263+
])
264264
->search('framework -css');
265265
```
266266

0 commit comments

Comments
 (0)