#8553 closed Uncategorized (wontfix)
Add soundex support to MySQL (and others)
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | mysql, soundex |
Cc: | django2.20.orzelf@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I needed to use MySQL sounds like support in an app recently and found it to be seemingly easy to add support for this. Not sure what the policy is about database-specific calls, but at least both postgres, sqlite, and oracle all appear to support some form of soundex.
http://www.postgresql.org/docs/8.3/static/fuzzystrmatch.html
http://www.sqlite.org/lang_corefunc.html
http://www.techonthenet.com/oracle/functions/soundex.php
I've attached my changes for MySQL.
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | mysql_soundslike.diff added |
---|
comment:1 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Not really worth it. Soundex support has enough collisions that it's often preferable to use other, similar algorithms. So then it becomes a question of which versions to include. Since adding extra lookup types is actually possible by subclassing the Query
class (django.contrib.gis
already does this), no modifications to core should be needed for this.
comment:2 by , 13 years ago
Cc: | added |
---|---|
Easy pickings: | unset |
Severity: | → Normal |
Type: | → Uncategorized |
UI/UX: | unset |
MySQL "sounds like" (soundex) support