python - MySQL Query to fuzzy(?) search a software database -


i have software names database need search ,now trying find query select right software name . software name field varchar

example software list in db:

adobe flash professional mozilla firefox browser 20.0 adobe photoshop lightroom netbeans ide winrar 5.10 beta 2 

query firefox be:
firefox or mozilla firefox

query lightroom be:
lightroom or adobe lightroom or photoshop lightroom

query winrar be:
winrar or winrar archiver

i have tried work soundex or levenshtein distance , not return desired result .

you looking fulltext searching: https://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html

note need create fulltext index on searched column, , may want consider adding relevant keywords (so abovementioned "archiver" matches on something)


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -