-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for pelias/api#1077 #268
Conversation
Hi @Joxit. /v1/autocomplete?text=1443 park ave, saint louis I tried all the combinations of abbreviations I could think of. The bad news is we already don't do a great job unless the city name is fully specified, the good news is that means we probably can't break it further :) I'd love for @missinglink to chime in on this and pelias/api#1077 but it looks good to me! |
Any news on this? This will be outdated with #272 (Up to date with master now) |
…d queries Add synonym for saint and sainte
6e4a4fa
to
f220047
Compare
Hi @Joxit, you caught us in a time of transition! I just cleaned up the synonyms, standardizing them to the solr file format (and putting them in their own files) in #272. In #273 I added the ability for users to add their own custom synonyms. (today I added support for 'admin' as well as for 'name' and 'street'). I opened #274 today to address this issue, it adds your synonyms to the Let me know what you think? tl;dr I added this commit custom_synonyms...custom_synonyms_admin |
Hi @missinglink, Yeah I saw your refactoring 😉 It looks good to me. Nice job, I saw that you added fort and mount too. The next step will be to clean |
@Joxit I agree. I think pelias/api#767 which added that custom and america-centric handling of mt/st/fort can be replaced with some of the alias work we're doing and proper updates to data in WOF |
The city name standardize stuff should go away, it's a relic of a time when we flirted with the idea of pulling analysis out of ES and into code. |
Hey, it solved some problems. And I think we may still pull more analysis out to make it replicable elsewhere. |
@orangejulius this is a good idea. |
changes merged in #274, thanks for your contribution! |
Yeah! Nice, you are welcome ;-) |
Fail to search
Saint..
cities in structured queriesAdd synonym for saint and sainte