Why does _verifyMatches show a match when no potential match is created?

Problem

  • _verifyMatches shows that a match rule matches two profiles (matchedByDocuments is true).
  • The profiles aren't potential matches in the Reltio UI or in the Potential matches API (_matches).
  • Rebuilding the match tables doesn't change the result.

Cause

Reltio finds potential matches in two stages. A match rule first builds token phrases from its attributes, and profiles that share a phrase become candidates. Only then does Reltio evaluate the rule's comparison formula on each candidate pair.

_verifyMatches evaluates the comparison formula directly on the two profiles, so it can show a match for a pair that is never found as candidates. This happens when every token phrase the pair shares is overcollisioned: a token phrase can be linked to at most 300 profiles, and a phrase shared by more profiles is skipped as too common.

It typically happens when a rule tokenizes only a common attribute, such as a last name. An attribute doesn't produce tokens when it's listed in the rule's ignoreInToken, or when it's compared with exactOrNull or notExact.

Diagnose

Verify the pair using the stored match data. {TenantURL} is https://<environment>.reltio.com/reltio/api/<tenantId>.

POST {TenantURL}/entities/_verifyMatches?rules=configuration/entityTypes/<EntityType>/matchGroups/<MatchRule>&show=full&documentsFromDatabase=true
Authorization: Bearer <access_token>
Content-Type: application/json

{ "first": { "uri": "entities/<entityId1>" }, "second": { "uri": "entities/<entityId2>" } }

This issue applies when, for the rule:

  • matchedByDocuments is true, but matchTokens.intersection is empty ({}).
  • matchTokens.intersection lists token phrases when you resend the request with &checkOvercollisionedTokens=false.
  • In the rule section, only the common attribute shows "ignoreInToken": false.

Solution

  1. Change the rule so that its tokens include at least one selective attribute, such as an identifier, usually by removing it from ignoreInToken. The attribute must be compared with exact or fuzzy.
  2. Run Rebuild Match Tables for the entity type. To test the change first, rebuild only the affected profiles:
POST {TenantURL}/rebuildmatchtable
Authorization: Bearer <access_token>
Content-Type: application/json

["entities/<entityId1>", "entities/<entityId2>"]

Verify

Repeat the _verifyMatches request. matchTokens.intersection lists at least one token phrase, and GET {TenantURL}/entities/<entityId1>/_matches returns the second profile.

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.