jeudi 8 avril 2021

single-character full text search not working (Laravel)?

When I'm going to search by name call Headstone It will give the search result, But when I going to search by name call stone the half of word, no result found.

This is my code to search :

Locations::orWhereRaw('MATCH (headstone_memorial_details) AGAINST (?)', array(['+' . 'Headstone' . ' *']));

I'm using Laravel 5.7

How to fixed this Problem? I want to search(full-text search) records by single character of word.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire