Skip to content

Database

The Database driver is the simplest way to get started with Scoutify as it requires no external dependencies.

  • Datasets under ~50 000 records.
  • Staging environments or local development.
  • Applications where typo tolerance is not a priority.

Set the driver in your .env file:

SCOUT_DRIVER=database

No additional configuration is needed in config/scout.php for basic usage.

For better performance on larger datasets, add a full-text index to your searchable columns:

// In your migration
$table->fullText(['title', 'body']);
FeatureDatabaseMeilisearch / Algolia
Typo ToleranceNoYes
Relevance RankingBasicAdvanced
Max Records~50kMillions
PerformanceVariableConsistent

For large-scale production applications, we recommend moving to Meilisearch or Typesense.