Additionally, InvalidArgumentException is now used to ensure a proper exception is thrown in TNTSearchEngine::addFilter() (and not an exception saying the exception class could not be found).
Since the new methods were not used in previous versions of laravel/scout I don't expect any backwards compatibility issues.
First of all, thanks so much for this great Laravel Scout adapter!
In order to resolve #323 this PR adds implementations for the new abstract methods based on https://github.com/laravel/scout/blob/9.x/src/Engines/AlgoliaEngine.php.
Additionally,
InvalidArgumentException
is nowuse
d to ensure a proper exception is thrown inTNTSearchEngine::addFilter()
(and not an exception saying the exception class could not be found).Since the new methods were not used in previous versions of
laravel/scout
I don't expect any backwards compatibility issues.Let me know if you'd like me to make any changes.