This addon provides a Loupe search driver for Statamic sites.
Loupe
Loupe is a local SQLite search engine that is easy to set up and requires no additional infrastructure.
- Only requires PHP and SQLite, nothing else
- Tolerates typos and supports stemming
- Supports phrase search using
"quotation marks"
- Supports filtering and ordering on geo distance
- Sorts by relevance
Installation
composer require daun/statamic-loupe
Add the new driver to the statamic/search.php
config file.
'drivers' => [
// other drivers
'loupe' => [
'path' => storage_path('statamic/loupe'),
],
],