Details
-
Task
-
Status: Open (View Workflow)
-
Trivial
-
Resolution: Unresolved
-
None
-
None
Description
Currently SOUNDEX() supports only single words. If is possible allow it to split each words by some character, individually, will be great.
SOUNDEX('Hello World') => 'H4643'
SOUNDEX('Hello World', ' ') => 'H400 W643'
SOUNDEX('Hello World', '%') => 'H400%W643'
It will allow do search not related to full search (eg. tinytext) with similar words (ex. hello vs. helo) using, for instance, a LIKE. Currently I have my own implementation in a stored procedure, but it is too slow (http://pastebin.com/RhkUnjut).
Then I use like:
WHERE SOUNDEX(?, '%') LIKE SOUNDEX(name, '%')