Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#8553 closed Uncategorized (wontfix)

Add soundex support to MySQL (and others)

Reported by: dacort <django@…> Owned by: nobody
Component: Database layer (models, ORM) Version: master
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


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.

I've attached my changes for MySQL.

Attachments (1)

mysql_soundslike.diff (1.7 KB) - added by dacort <django@…> 10 years ago.
MySQL "sounds like" (soundex) support

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by dacort <django@…>

Attachment: mysql_soundslike.diff added

MySQL "sounds like" (soundex) support

comment:1 Changed 10 years ago by Malcolm Tredinnick

Resolution: wontfix
Status: newclosed

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 Changed 7 years ago by Thomas Capricelli

Cc: django2.20.orzelf@… added
Easy pickings: unset
Severity: Normal
Type: Uncategorized
UI/UX: unset
Note: See TracTickets for help on using tickets.
Back to Top