Skip to content
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

Searching on "BD POISSONNIERE" in Paris matches "Rue Poissonnière" #28

Closed
richterb opened this issue Feb 25, 2015 · 2 comments
Closed

Comments

@richterb
Copy link

http://api.adresse.data.gouv.fr/search/?q=24%20BD%20POISSONNIERE,%20Paris&limit=1

Oddly enough, it works if I specify France: http://api.adresse.data.gouv.fr/search/?q=24%20BD%20POISSONNIERE,%20Paris,%20France&limit=1

@yohanboniface
Copy link
Member

It's all about string distances:

> DISTANCE 24 BD POISSONNIERE, Paris|24 Rue Poissonnière 75002 Paris
0.6060606060606061
--------------------------------------------------------------------------------
> DISTANCE 24 BD POISSONNIERE, Paris|24 Boulevard Poissonnière 75009 Paris
0.5945945945945946
--------------------------------------------------------------------------------
> DISTANCE 24 BD POISSONNIERE, Paris|24 Rue Poissonnière 75002 Paris France
0.5
--------------------------------------------------------------------------------
> DISTANCE 24 BD POISSONNIERE, Paris|24 Boulevard Poissonnière 75009 Paris France
0.5

But that's still annoying.

@davidbgk
Copy link
Contributor

Same issue as discussed in #101 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants