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

improve structured geocoding postcode matching #135

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Conversation

missinglink
Copy link
Member

@missinglink missinglink commented Apr 16, 2024

as discussed in pelias/api#1548 only the parent.postalcode field is being used for matching, adding the address_parts.zip field greatly improves matching as it is what is being used for osm/ oa/ custom layers.

I've included a new test fixture in this PR which covers the case where only the postcode field is specified for a structured query.

closes pelias/api#1548

@missinglink missinglink merged commit d4d293f into master Apr 16, 2024
6 checks passed
@missinglink missinglink deleted the postcode-queries branch April 16, 2024 15:20
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

Successfully merging this pull request may close these issues.

structured: postalcode param should match multiple fields
1 participant