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

Pelias search must better support partial matches #111

Closed
mhalttu opened this issue Jan 9, 2017 · 3 comments
Closed

Pelias search must better support partial matches #111

mhalttu opened this issue Jan 9, 2017 · 3 comments
Labels

Comments

@mhalttu
Copy link

mhalttu commented Jan 9, 2017

This request https://api.digitransit.fi/geocoding/v1/search?text=loistepu returns the address "Loisteputki" which can be found in Helsinki.

This request https://api.digitransit.fi/geocoding/v1/search?text=loistep does not.

As long as the autocomplete requests have severe limitations (see #109 and #110) Pelias search should return valid results from partial matches as long as there is a reasonable amount of letters in the query (e.g. more than 3)

@vesameskanen
Copy link
Member

Confirmed. Search is currently optimized for full search strings. Anyway, Digitransit itself uses it for partial searches, so we will improve scoring of partial matches.

@vesameskanen
Copy link
Member

Fixed by; HSLdevcom/pelias-api#42

The fix will be deployed during 1st half of February.

@vesameskanen
Copy link
Member

Fix deployed, time to close the issue.

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

No branches or pull requests

2 participants