Return to homepage

Comments

André

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?

  • 0
chevra

How would pagination work when passing a limit of results to be returned

  • 0
Michał

Or I did something wrong, or You are not cover any synchro beetween eloquent and tntsearch? Is there clean way to do this?

  • 0
Martin

Hello, why TNTSearch and not Laravel scout? Thanks

  • 0
Manuel

Scout is the wrapper. You can build your own solution with TNTSearch. In my case, I have built a driver for Manticore Search.

  • 0