I'm trying to search products from product
table which are mostly matched by characters. For this case I'm using this query.
SELECT *
FROM Product
WHERE CONTAINS([Name], '"shirt" OR "pant" OR "popular"')
This query is ok when users searching by exactly correct spelled words. But I want a query string that can suggest expected result when someone incorrectly spelled, like shart
, pent
or populer
.
Is there any solution?