Reputation: 71
I have a elastic instance where data format and insert by an other application. I want search data from elastic with my laravel app without use eloquent. what is the best way for that? Thanks
Upvotes: 0
Views: 394
Reputation: 5174
For using a fulltext search you should use Laravel Scout. By default Laravel Scout is only shipped with one connector - Algolia. But you can write your own connector to any search engine preferred. There is a section in the Laravel Scout docs about custom search engines.
There already seems to be a working package babenkoivan/elastic-scout-driver, that connects Laravel Scout to Elastic Search.
Upvotes: 1