Symptoms
You may see one or more of these:
- A suspect match rule with a FERN prerequisite creates matches that FERN did not create, so a search for "rule X without FERN" returns profiles.
- You want a group of records (for example, one customer type) excluded from FERN, but a rule prerequisite doesn't stop FERN from creating its own matches.
- After you apply a FERN dataset filter, a search for FERN potential matches filtered on the excluded value still returns profiles, yet the profiles you open show a different value.
Cause
1. Prerequisite threshold below FERN's lowest action threshold. A prerequisite checks the raw relevance score of the FERN group, not whether FERN created a match. If the rule's prerequisite lower bound (for example 0.7-1) is below the lowest score at which FERN takes an action on your tenant (for example 0.75), a pair scoring in the gap passes the prerequisite, FERN creates no match, and the dependent rule creates a suspect match.
2. A prerequisite can't exclude records from FERN. It only gates the rule it is configured on. FERN evaluates every pair independently. To keep records out of FERN, use FERN data selection (dataset criteria).
3. Multi-valued attributes. equals(attributes.X,value) is true if any value of X equals the value. not equals(attributes.X,value) passes only when none of the evaluated values equals it. A TC-only filter therefore still includes a profile that stores both TC and PT.
4. Search index out of step with the stored profile. In rare cases a profile and its Elasticsearch document carry the same version number with different content. Search then returns values that the profile no longer holds. A standard reindex compares versions, finds them equal, and skips the document. The consistency check also compares versions only, so it reports no problem.
Resolution
A. Fix the prerequisite threshold
Set the prerequisite lower bound to FERN's lowest action threshold on your tenant. Check the thresholds in Data Modeler under the FERN match model's action settings. Example:
"matchPrerequisites": {
"rules": [
{
"onMatch": "evaluate",
"scoreThreshold": "0.75-1",
"filters": [
{ "uri": "configuration/entityTypes/<EntityType>/matchGroups/<FERNMatchGroupName>" }
]
}
]
}This is configured through the Configuration API (PUT /reltio/api/{tenantId}/configuration), not the Data Modeler rule editor. After the change, run Rebuild Match Table and the Potential Matches Reindex Task (POST /reltio/api/{tenantId}/rebuildpmcounters?distributed=true).
B. Keep records out of FERN with data selection
- In Data Modeler open the entity type > Match > the FERN model > Edit > Choose the dataset criteria.
- Define the filter. Both profiles in a pair must satisfy it. Example that excludes one value:
(equals(type,configuration/entityTypes/<EntityType>) and not equals(attributes.<Attribute>,<Code>))
- Save. A vector reindex and a Rebuild Match Table normally start automatically.
- Run the Potential Matches Remove task and the Potential Matches Reindex Task.
If the section doesn't appear, the feature needs to be enabled for the tenant by Reltio Support.
C. Refresh a search index that disagrees with the profile
- Compare the stored value with the search result. The entity API returns stored values:
GET /reltio/api/{tenantId}/entities?filter=(equals(type,'configuration/entityTypes/<EntityType>') and exists(scopePMMlmatchRules) and equals(attributes.<Attribute>,'<Code>'))&select=uri,attributes.<Attribute>&max=200&offset=0&options=searchByOv,ovOnlyIf none of the returned profiles actually stores <Code>, the index is out of step.
- Test on one profile first:
POST /reltio/api/{tenantId}/reindex?updateEntities=false&forceIndexing=trueBody:
["entities/<entityId>"]
- Re-run the check below for that profile.
- If it works, ask Reltio Support before running it for all entity types, since a tenant-wide force reindex is a heavy job.
Verification
Check the count of profiles that should no longer match:
GET /reltio/api/{tenantId}/entities/_total?filter=(equals(type,'configuration/entityTypes/<EntityType>') and exists(scopePMMlmatchRules) and equals(attributes.<Attribute>,'<Code>'))&options=searchByOv,ovOnlyExpected: {"total": 0}.
For a single profile:
GET /reltio/api/{tenantId}/entities/_total?filter=(equals(uri,'entities/<entityId>') and equals(attributes.<Attribute>,'<Code>'))&options=searchByOv,ovOnlyA profile that really stores the excluded value should also show no FERN potential matches on its Potential Matches tab.
Notes
- A standard Reindex Data task can skip documents whose version equals the profile's version. Use
forceIndexing=truewhen search content must be rewritten regardless of version. - The Cassandra/ES consistency check does not detect content differences between a profile and its search document.
- Always verify filter behavior against the profile's stored attribute values, not only the search results.
- A confirmation rule placed after FERN in ordered execution doesn't remove a match FERN already created.
Comments
Please sign in to leave a comment.