I have about 2000 rows in a mysql database.
Each row is a max of 300 characters and contains a sentence or two.
I use mysql's built in fulltext search to search these rows.
I would like to add a feature so that typos and accidental mispellings are corrected, if possible.
For example, if someone types "right shlder" into the searchbox, this would equate to "right shoulder" when performing the search.
What are your suggestions on the simplest way to add this kind of functionality? Is it worth adding an external search engine of some kind, like lucene? (It seems like for such a small dataset, this is overkill.) Or is there a simpler way?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…