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

Adding address unit attribute to schema #258

Merged
merged 2 commits into from
Nov 20, 2017

Conversation

sweco-semhul
Copy link
Contributor

To resolve pelias/pelias#618 more details found in comments to that issue

@ghost ghost added the in review label Nov 2, 2017
@sweco-semhul sweco-semhul changed the title Adding address unit Adding address unit attribute to schema Nov 2, 2017
Copy link
Member

@orangejulius orangejulius left a comment

Choose a reason for hiding this comment

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

This looks great! I'm sure we will discover new requirements of unit numbers at some point, but this should be perfect for starting :)

"peliasUnit": {
"type": "custom",
"tokenizer":"keyword",
"char_filter" : ["alphanumeric"],
Copy link
Member

Choose a reason for hiding this comment

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

@trescube do you think we would ever need non-alphanumeric characters in unit numbers? Maybe - or /?

Copy link
Member

Choose a reason for hiding this comment

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

We've had a discussion and are pretty sure analyzing alphanumeric characters only will work well enough to start :)

@sweco-semhul
Copy link
Contributor Author

yay thanks!

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

Successfully merging this pull request may close these issues.

Add unit numbers to addresses
2 participants