teamtnt/laravel-scout-tntsearch-driver
You can now exclude common words (articles, prepositions, etc.) from being indexed via a new stopwords option in the tntsearch block of config/scout.php:
'tntsearch' => [
// ...
'stopwords' => ['a', 'the', 'in'],
],
Applied on all indexing paths — scout:import, tntsearch:import and model saves. Stopwords take effect at indexing time, so reimport your models after changing them.
The driver now uses getReadPdo() instead of getPdo() in the service provider, engine and import command. Since the driver only ever reads from your database (index writes go to the separate index file), running imports from an instance with a read-only database connection now works.
teamtnt/tntsearch ^4.0|^5.0 (#363) — the driver calls fuzziness setters that only exist since tntsearch 4.0, so older tntsearch versions produced a fatal on bootbootstrap/providers.php on Laravel 11+ (#378, #388 — thanks @ultrono), and document the new stopwords optionFull Changelog: https://github.com/teamtnt/laravel-scout-tntsearch-driver/compare/v16.0.0...v16.1.0
This release adds full Laravel 13 compatibility.
illuminate/* ^13 and laravel/scout ^11 in composer constraints (#382, #383) — on Laravel 13, Scout resolves to v11.3.0+, the first Scout release compatible with Laravel 13extend closure on Laravel 13 (#387) — Laravel 13's Manager::extend rebinds the closure's $this and scope to the manager, which routed the driver's internal helper calls through Manager::__call back into the same closurelaravel/scout ^11.3teamtnt/tntsearch ^5.0Full Changelog: https://github.com/teamtnt/laravel-scout-tntsearch-driver/compare/v15.0.0...v16.0.0
This release starts from 6.1 to match the laravel scout version
How can I help you explore Laravel packages today?