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

simplified dedupe + preserve order #1612

Merged
merged 2 commits into from
Mar 4, 2022

Conversation

missinglink
Copy link
Member

an extension to #1607 which preserves ordering of synonymous records (ie. the lower ordinal position is inherited by the superior record).

@missinglink missinglink force-pushed the simplified_dedupe_preserve_order branch from ee7998e to 8c70f8f Compare March 3, 2022 16:50
@orangejulius
Copy link
Member

Cool, this fixes the example I had in mind, will run it through the full test suite to see if it looks good overall.

orangejulius added a commit to pelias/acceptance-tests that referenced this pull request Mar 3, 2022
This test case came out of evaluating
pelias/api#1607. It passes with the current API
master branch, fails with pelias/api#1607, but
passes with pelias/api#1612
@missinglink missinglink marked this pull request as ready for review March 3, 2022 18:58
@orangejulius
Copy link
Member

All our acceptance testing shows this is either a no-op or a slight improvement. I think this is good to go, and then we can start evaluating the other deduplication related PRs: #1606 and #1371, since their full benefits are only unlocked with this change to the deduplication logic.

@orangejulius orangejulius merged commit 7e1c568 into master Mar 4, 2022
@orangejulius orangejulius deleted the simplified_dedupe_preserve_order branch March 4, 2022 16:42
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