php - measure relevance of a search term returned matched against results -



php - measure relevance of a search term returned matched against results -

is there php or mysql function check how relevant matching field is? review string , match against percentage of characters?

for illustration doing basic search script pulling results how can create more relevant results appear @ top?

a lot depends on info , type of searches expecting. basically, looking fuzzy search. soundex , levenshtein distance 2 of many functions can utilize string matches

http://php.net/manual/en/function.levenshtein.php

php mysql

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -