Database
The Database driver is the simplest way to get started with Scoutify as it requires no external dependencies.
When to use
Section titled “When to use”- Datasets under ~50 000 records.
- Staging environments or local development.
- Applications where typo tolerance is not a priority.
Configuration
Section titled “Configuration”Set the driver in your .env file:
SCOUT_DRIVER=databaseNo additional configuration is needed in config/scout.php for basic usage.
SQL Index Recommendations
Section titled “SQL Index Recommendations”For better performance on larger datasets, add a full-text index to your searchable columns:
// In your migration$table->fullText(['title', 'body']);Limitations
Section titled “Limitations”| Feature | Database | Meilisearch / Algolia |
|---|---|---|
| Typo Tolerance | No | Yes |
| Relevance Ranking | Basic | Advanced |
| Max Records | ~50k | Millions |
| Performance | Variable | Consistent |
For large-scale production applications, we recommend moving to Meilisearch or Typesense.