Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Enterprise only

Set Deterministic Matching Conditions

Deterministic matching is Enterprise only. Available in Enterprise Lite and above.

To configure deterministic matching, define each rule as a DeterministicMatching condition in Python or as a matchCondition block in JSON, then pass all conditions to setDeterministicMatchingCondition(). Full Python and JSON examples → Configure Zingg

How the conditions work

Each matchCondition is evaluated independently. Any pair that satisfies at least one condition is resolved as a match with a score of 1. You can define as many conditions as your data requires.

Using the example above:

Condition
What it means

fname + stNo + add1 match exactly

Same first name at the same street number and address line → treated as same entity, score 1.

fname + dob + ssn match exactly

Same first name, date of birth, and SSN → treated as same entity, score 1.

fname + email match exactly

Same first name and email address → treated as same entity, score 1.

When should I use deterministic matching?

Use deterministic matching when your data contains reliable unique identifier fields where an exact match between two records should always mean they are the same entity.

Good candidates for deterministic rules:

  • First name + email address

  • First name + date of birth + national ID

  • First name + street number + address line 1

Do not use deterministic matching on fields that are frequently incomplete or inconsistent. Null values or formatting variations will cause valid matches to be missed. Apply deterministic rules only to fields you trust.

If you are unsure, start with probabilistic matching only. Add deterministic rules once you have reviewed match output and identified high-confidence identifier combinations in your data.

Last updated

Was this helpful?