Hi Ronald,
I tried this on my end, and it seems to be working with the following configuration:
The snippet explicitly mentions the `matchTokenClasses` and `comparatorClasses` to ensure the tokens are generated correctly.
To verify why two records did not match, you can use the `_verifyMatches` API:
```json
{
"uri": "configuration/entityTypes/HCP/matchGroups/Phone",
"label": "Phone",
"type": "suspect",
"scope": "INTERNAL",
"useOvOnly": "false",
"rule": {
"matchTokenClasses": {
"mapping": [
{
"attribute": "configuration/entityTypes/HCP/attributes/Phone/attributes/Number",
"class": "com.reltio.match.token.PhoneNumberMatchToken"
}
]
},
"comparatorClasses": {
"mapping": [
{
"attribute": "configuration/entityTypes/HCP/attributes/Phone/attributes/Number",
"class": "com.reltio.match.comparator.PhoneNumberComparator"
}
]
},
"and": {
"exact": [
"configuration/entityTypes/HCP/attributes/Phone/attributes/Number",
"configuration/entityTypes/HCP/attributes/LastName"
]
}
},
"scoreStandalone": 0,
"scoreIncremental": 0
}
```
### Verify Matches API Call
```http
POST {{tenantURL}}/entities/_verifyMatches?documentsFromDatabase=true&show=full&hashedTokens=false
```
### Request Payload
```json
{
"first": {
"uri": "entities/0YK6oq4"
},
"second": {
"uri": "entities/0OCUolq"
}
}
```
This API call helps in understanding why the two records did not match by providing detailed match analysis.
------------------------------
Vignesh Chandran
Advisory Services Manager
Reltio
------------------------------