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
  • fresh - Flush the index before importing Optional

Arguments

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