Artisan.page

scout:queue-import

Import the given model into the search index via chunked, queued jobs

Terminal
php artisan scout:queue-import [--min [MIN]] [--max [MAX]] [-c|--chunk [CHUNK]] [--order [ORDER]] [--queue [QUEUE]] [--] <model>

Options

chunkOptional

The number of records to queue in a single job (Defaults to configuration value: scout.chunk.searchable)

maxOptional

The maximum ID to queue up to

minOptional

The minimum ID to start queuing from

orderOptional

The order in which ranges should be queued (asc or desc)

queueOptional

The queue that should be used (Defaults to configuration value: scout.queue.queue)

Arguments

modelRequired

Class name of model to bulk queue