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 more aggressive primary key matching #2

Open
jensyt opened this issue Jul 30, 2013 · 0 comments
Open

Add more aggressive primary key matching #2

jensyt opened this issue Jul 30, 2013 · 0 comments

Comments

@jensyt
Copy link
Member

jensyt commented Jul 30, 2013

The current implementation only matches primary keys if they are exactly equal, regardless of whether any secondary keys match. This might make sense, but it might also make sense to allow more aggressive top-level matching by looking at matches across all keys and comparing to some threshold.

E.g. two objects with keys [1, 2, 3, 4] and [2, 2, 3, 4] should possibly match, even though the primary key (1 vs 2) doesn't. If the threshold were set to match "at least 75%", this could be a match.

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

No branches or pull requests

1 participant