loupe-php/loupe: A #fulltext #search engine with #tokenization, #stemming, #typo_tolerance, #filters and #geo support based on only #PHP and #SQLite.
▻https://github.com/loupe-php/loupe
An SQLite based, PHP-only fulltext search engine.
Loupe…
–…only requires PHP and SQLite, you don’t need anything else - no containers, no nothing
–…is typo-tolerant (based on the State Set Index Algorithm and Levenshtein)
–…supports phrase search using " quotation marks
–…supports filtering (and ordering) on any attribute with any SQL-inspired filter statement
–…supports filtering (and ordering) on Geo distance
–…orders relevance based on a typical TF-IDF Cosine similarity algorithm
…auto-detects languages
–…supports stemming
–…is very easy to use
–…is all-in-all just the easiest way to replace your good old SQL LIKE %...% queries with a way better search experience but without all the hassle of an additional service to manage. SQLite is everywhere and all it needs is your filesystem.