How would pagination work when passing a limit of results to be returned
Or I did something wrong, or You are not cover any synchro beetween eloquent and tntsearch? Is there clean way to do this?
Hello, why TNTSearch and not Laravel scout? Thanks
Scout is the wrapper. You can build your own solution with TNTSearch. In my case, I have built a driver for Manticore Search.
If the TNTSearch Index does not return a result, then I get a fatal error.
PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') asc' at line 1 in /var/www/codecourse/htdocs/vendor/illuminate/database/Connection.php
What is the best way to catch this error in this course example?