Is it possible to use levenshtein to compare portion of a column with search term? For example if a user searches "waiferer" - it will find "Schwinn Men's 700c Wayfarer Bike". I also would like to sort from highest match to lowest. I'm using leveshtein code from here. Here's my php code
$result = mysql_query('SELECT name FROM products WHERE LEVENSHTEIN("'.$word.'", name) <= 10')