MatchExecution
Running comparison on demand, and merging records once you are satisfied.
Find candidates for a record
Returns the records that might be the same as this one, with the evidence behind each score. It reads only — nothing is merged or queued. Requires `potential-match.read`.
Find candidates for values you supply
Scores a set of values against existing records without creating anything. This is the call to make before inserting, to see whether the thing already exists. Requires `potential-match.read`.
Merge records
Merges records into one survivor. Each attribute's winning value is chosen by the profile's survivorship rules, the absorbed records remain resolvable so old references still work, and the merge can be reversed. Requires `entity.merge`.
Reverse a merge
Undoes a merge, restoring the absorbed records with the values they had. Merges reverse in the order they were made, so a record merged twice is unwound one step at a time. Requires `entity.unmerge`.