-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
Address search regression on Pelias Query #690
Comments
possibly related? #685 cc/ @sweco-semhul |
hi @antoine-de, thanks for the bug report. If it's not too much work, could you please open a PR with the proposed code change and we can then discuss it on the PR? regarding mapzen search, our production environment is running the |
If you have some good test data from France that we are missing, please add it to the https://github.com/pelias/acceptance-tests repo. These tests are run against the Thanks! |
@antoine-de yes it seems to be related to the changes made by me to add unit. I say changing https://github.com/pelias/query/blob/master/layout/AddressesUsingIdsQuery.js#L101 to only search with unit if parsed would probably fix this. |
I opened the query's PR I don't think it's related to #685 because the production branch is using query 9.1.0 and the staging 9.1.1 so there should be no problem in production. For nice acceptance tests on french data I often use https://github.com/geocoders/geocoder-tester but it's not trivial to run them on Pelias (we've developed a pelias proxy to run them). If you want I can add some other tests on the |
I close this issue since it has been fixed by pelias/query#78 |
Hey team!
I was using your awesome geocoding engine when I noticed something interesting.
Here's what I did 😇
I set up a pelias instance on france and I got strange regression on the last update (I nailed down the regression is on pelias/query 9.4 version
The latest version makes it more difficult to find addresses.
For example on a simple query (it's a french address)
http ":4000/v1/search?text=19 Rue Denis Cordonnier Aniche"
If I use the 9.3 version of pelias/query I got the address I want:
and if I just upgrade the pelias/query to 9.4 version only the street is found (since the address lookup it's the street fallback that works):
Here's what I think could be improved 🏆
I think the unit search feature can be improved by searching on the unit only if libpostal parsed one.
I think we should check that a unit has been parsed before calling
createAddressShould
:https://github.com/pelias/query/blob/master/layout/AddressesUsingIdsQuery.js#L101
Just like how it's done in StructuredFallbackQuery.
The fix seems quite easy and I'm willing to do it if you agree with the proposed solution.
Note: I cannot reproduce it on the compare site, but it might be because the pelias query version has not been upgraded yet. How can I know which pelias exact version has been deployed ?
The text was updated successfully, but these errors were encountered: