Answer the question
In order to leave comments, you need to log in
How to work with elasticsearch in laravel via scout?
The search itself works fine. There is a problem when deleting a record from the database.
When I search for an entry similar to a remote one, an error occurs: "Undefined offset: 3". How do I set up a model or make a delete request so that the index is deleted along with the record?
Answer the question
In order to leave comments, you need to log in
Please provide the full error message.
Judging by the text, the error is either in your code or in the library through which you are searching. It will be clear from the file in which such an error appeared.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question