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

Add multiple hierarchy support #87

Merged
merged 3 commits into from
Oct 17, 2016
Merged

Conversation

trescube
Copy link
Contributor

@trescube trescube commented Apr 22, 2016

WOF supports multiple hierarchies per record, but previously, the importer only went with the last hierarchy in the array. In this PR, all hierarchies are supported.

Fixed #39
Supersedes #40
Connected to #2

@trescube
Copy link
Contributor Author

trescube commented Sep 10, 2016

To clarify, this PR does not add multiple hierarchies to a single document, it creates a separate document for each hierarchy.

For example, Slavonski Kobaš has 2 hierarchies, one in Croatia and one in Bosnia and Herzegovina. Right now, we just support the one in Bosnia and Herzegovina.

In this example, this PR would create separate documents so that there would be 2 results, one for each hierarchy.

Some other examples are:

@trescube trescube self-assigned this Sep 10, 2016
@trescube trescube force-pushed the add-multiple-hierarchy-support branch from 522a8ce to 803866d Compare October 13, 2016 19:52
@missinglink
Copy link
Member

LGTM :shipit:

Copy link
Contributor

@dianashk dianashk left a comment

Choose a reason for hiding this comment

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

👍

@orangejulius
Copy link
Member

There were no failures in the acceptance-tests when running this branch on dev, so we are good to go :)

@trescube trescube force-pushed the add-multiple-hierarchy-support branch from 803866d to d8a1b45 Compare October 17, 2016 17:18
@trescube trescube merged commit d8c1a44 into master Oct 17, 2016
@trescube trescube deleted the add-multiple-hierarchy-support branch October 17, 2016 17:23
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.

4 participants