Skip to content

Commit 6de28dd

Browse files
committed
scout:queue
1 parent 48e782c commit 6de28dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scout.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,12 @@ If you are installing Scout into an existing project, you may already have datab
536536
php artisan scout:import "App\Models\Post"
537537
```
538538

539+
The `scout:queue` command may be used to import all of your existing records using [queued jobs](/docs/{{version}}/queues):
540+
541+
```shell
542+
php artisan scout:queue "App\Models\Post" --chunk=500
543+
```
544+
539545
The `flush` command may be used to remove all of a model's records from your search indexes:
540546

541547
```shell

0 commit comments

Comments
 (0)