MTG / freesound

The Freesound website
https://freesound.org
GNU Affero General Public License v3.0
314 stars 87 forks source link

Search tags without hyphens #1315

Open alastair opened 5 years ago

alastair commented 5 years ago

Some people add duplicate tags with and without hyphens, e.g. ding-dong dingdong. We could search both options when someone enters "ding-dong" as a search term. Should we also do the reverse?

ffont commented 5 years ago

interesting one. going from ding-dong to dingdong or even ding dong is easy, doing the reverse is not straightforward but we could have some predefined set of the most common queries and their "translation". I think this could all be implemented with a synonyms file in Solr. This is related to this other issue https://github.com/MTG/freesound/issues/516