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

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

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