S
S
shasoft2018-05-18 14:34:28
Laravel
shasoft, 2018-05-18 14:34:28

What package should I use in LARAVEL 5.* for full search?

It is necessary to fasten a full-fledged search. However, in Laravel, as I understand it, they turned off full-fledged indexes.
At the same time, you can make your own custom table that will emulate a full-fledged index. those. when saving, a method is called that returns the text for the model (possibly several texts with different ranks), after which the entire text is divided into words and these words are saved in a separate table with a link to the model object. After that, it is enough to search for the desired word and return the object identifier and its type.
Maybe there are packages that work on this (similar) principle?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Camaro67, 2018-05-18
@shasoft

For a full-fledged search, you need to use tools specially created for this, for example, Sphinx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question