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

autocomplete=0 on exact string fail retrive the match #125

Closed
frodrigo opened this issue Nov 1, 2015 · 0 comments
Closed

autocomplete=0 on exact string fail retrive the match #125

frodrigo opened this issue Nov 1, 2015 · 0 comments

Comments

@frodrigo
Copy link
Contributor

frodrigo commented Nov 1, 2015

With #124 fixed

?q=La Chapelle-aux-Brocs&limit=1&autocomplete=1
{"properties": {"population": "0.4", "id": "19043", "score": 0.9159090909090909, "context": "19, Corr\u00e8ze, Limousin", "adm_weight": "1", "citycode": "19043", "label": "19360 La Chapelle-aux-Brocs", "type": "city", "postcode": "19360", "city": "La Chapelle-aux-Brocs", "name": "La Chapelle-aux-Brocs"}, "geometry": {"coordinates": [1.625797, 45.145334], "type": "Point"}, "type": "Feature"}
autocomplete=1 => OK

?q=La Chapelle-aux-Brocs&limit=1&autocomplete=0
{"properties": {"id": "61095_XXXX_be5d8f", "score": 0.30341212121212113, "type": "street", "citycode": "61095", "label": "Chemin de la Mare au Gros 61100 La Chapelle-Biche", "context": "61, Orne, Basse-Normandie", "postcode": "61100", "city": "La Chapelle-Biche", "name": "Chemin de la Mare au Gros"}, "geometry": {"coordinates": [-0.629211, 48.708416], "type": "Point"}, "type": "Feature"}
autocomplete=0 => Not OK

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

1 participant