Field Indexing Problem


I have an indexing problem, a field has not well indexed despite it exists in my database.

By default Laravel index what is returned by the toArray() method. It could be that your field is hidden by laravel (like password for instance).

You can add the needed field by using toSearchableArray() method:

Ok, Thank You for help.