Skip to content

add postcode to variable store if we have it - #1226

Merged
orangejulius merged 2 commits into
masterfrom
address_search_using_ids
Nov 2, 2018
Merged

add postcode to variable store if we have it#1226
orangejulius merged 2 commits into
masterfrom
address_search_using_ids

Conversation

@missinglink

Copy link
Copy Markdown
Member

This PR enabled pelias/query#91 to function for address_search_using_ids queries

It's a simple change, we just add postcode data to the query variable store if we have it.

Note: although not strictly interdependent, it would be ideal to merge the query PR first and then merge this one after so it pulls in the update dependency.

@orangejulius

Copy link
Copy Markdown
Member

I haven't had a chance to test this yet, but very nice catch regarding these queries not taking the postalcode into account. Should be a good fix to have.

@orangejulius
orangejulius force-pushed the address_search_using_ids branch from ad507b2 to 44b8d38 Compare November 2, 2018 21:28
@orangejulius

Copy link
Copy Markdown
Member

For our history, this was first mentioned in pelias/pelias#754 (comment)

orangejulius added a commit to pelias/acceptance-tests that referenced this pull request Nov 2, 2018

@orangejulius orangejulius left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

This is required for the other half of postalcode matching
@orangejulius
orangejulius merged commit 8393e35 into master Nov 2, 2018
@orangejulius
orangejulius deleted the address_search_using_ids branch November 2, 2018 22:05
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.

2 participants