Artisan.page

scout:import

Import the given model into the search index

Terminal
php artisan scout:import [--fresh] [-c|--chunk [CHUNK]] [--] <model>

Options

chunkOptional

The number of records to import at a time (Defaults to configuration value: `scout.chunk.searchable`)

freshOptional

Flush the index before importing

Arguments

modelRequired

Class name of model to bulk import