Scout is a driver driven indexing and search service. If you want something a bit complex than using LIKE in SQL then it'll really save you some time and effort.
How do you create a search functionality in Laravel?
Hi,
I am new to laravel and I want some feedback from professional developers in Laracast. How do you usually create a search from Database? i'm using Eloquent and when I search it in Google, it has 2 options. 1st is the typical search.blade.php and the 2nd is somewhat called Laravel Scout or Algolia. I am confused on these 2 options. Which of these you usually do and why?
Thanks for information.
If LIKE is working for you then there's no need to use Scout. Tools like Algolia and Elasticsearch provide a huge amount of additional functionality at the cost of more complexity in your models.
Algolia has a free plan, so why not sign up and have muck about with it.
Please or to participate in this conversation.