I would like to allow users to search node location using location city with synonyms.
For example:
- New York
- NY
- NYC
- New York City
etc.
should bring the same search results.
Solution workaround
If this feature is not yet available in the Location module, I could maybe use Views, create the indexed synonyms as taxonomy terms vocabulary and term reference field Content: Location Synonyms, modify the view's Global: combine filters filter setting Choose fields to combine for filtering as Location: City and Content: Location Synonyms? This would require tagging each node location synonyms manually or would require setting up a Rule (using Rules contrib module) that would add these synonyms automatically depending on the Location: City selected. The standard Drupal search would index these tags.
I think it would be better to have it either inside the Location module or as an additional contributed helper module.