Magento, Laravel, Eloquent.
words, the index will be applied if we run queries like this: Product::where('title', '=', $search); Product::where('title', 'like', $search . '%'); But it won't be applied if we try to match by using a like query like this: Product::where('title', 'like', '%' . $search . '%'); This can be solved