V
V
Vova1357982022-04-09 09:18:36
Laravel
Vova135798, 2022-04-09 09:18:36

How to search only one field?

I'm doing a site search through Scout. How can I make it so that the search only compares a certain field of the model, for example by title?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2022-04-10
@andreybold

I didn’t go into the details of the scout much, but I think this will help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question