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

Fix multiple hierarchy support #40

Closed
wants to merge 4 commits into from

Conversation

trescube
Copy link
Contributor

Fixes #39

This does NOT need to be merged immediately for dev builds but it'll be an issue sooner than we think.

Previously, despite the code saying that it supports multiple hierarchies, it didn't actually do so.  This is because `map_fields_stream` would push multiple records but then the resulting sink in `readData` would overwrite the
last record by id.  This commit moves the expanding the multiple hierarchies into multiple documents to `peliasDocGenerators`.  `map_fields_stream` now just carries along the multiple hierarchies further down the pipeline.
@trescube
Copy link
Contributor Author

Superseded by #87

@orangejulius orangejulius deleted the fix-multiple-hierarchy-support branch May 30, 2018 21:57
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.

3 participants