I have created a custom module to optimize catalogsearch result, so that now my search box work with custom attribute
brand, it search all products for that brand.
But when I search with wrong spelling of brand then it does not return result. So how to get correct brand from wrong spelling to return same catalogsearch result.
For Eg. : I have a brand
dabur and when I search for this keyword then my custom code working as I want but when I search for
dubar etc. then my code is not working.
So how to get correct brand from search keyword in my custom module?