The Laravel Artisan Cheatsheet now has an API. Learn more.

scout:import

Import the given model into the search index

Options

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

Arguments

  • model - Class name of model to bulk import Required
php artisan scout:import [-c|--chunk [CHUNK]] [--] <model>