W
W
WebDev2016-09-07 17:16:47
Laravel
WebDev, 2016-09-07 17:16:47

New Search in Laravel 5.3?

Laravel 5.3 introduced Laravel Scout, which gives you the ability to do full-text searches.
How does he work? Can they replace elasticsearch? Where can I see examples?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jacob1237, 2016-09-07
@jacob1237

Laravel Scout is just a software abstraction over various search engines (including ElasticSearch). The library just adds some goodies and conveniences when working with Eloquent models.
To connect ElasticSearch to Laravel Scout, you just need to find the appropriate driver for it.
All examples in documentation: https://laravel.com/docs/5.3/scout

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question