Question
There is no intersection of tokens in the verifyMatch API, but still, the profiles are showing as potential matches in the UI for a given rule. Under what circumstances is this possible?
There is one non-empty intersection for a different match rule.
{
"matchDocuments": {
"first": {
"areEqual": true,
"databaseDocument": {
"Address": [
{
"StateProvince~.@ps": [
"10"
],
"Zip": [
{
"Zip5~.@ps": [
"10"
],
"Zip5": [
"90048"
]
},
{
"Zip5~.@ps": [
"00"
],
"Zip5": [
"90048"
]
}
],
"VerificationStatus": [
"verified"
],
"AddressLine1": [
"640 s san vicente blvd ste 498"
],
"AddressLine1~.@ps": [
"10"
],
"Country~.@ps": [
"10"
],
"StateProvince": [
"ca"
],
"VerificationStatus~.@ps": [
"10"
],
"Country": [
"united states"
],
"City": [
"los angeles"
],
"Zip~.@ps": [
"10",
"00"
],
"City~.@ps": [
"10"
]
}
],
"UCMID~.@ps": [
"10"
],
"~@i": "1jjhYlKa",
"SubRegion~.@ps": [
"10"
],
"GlobalRegion~.@ps": [
"10"
],
"$$_entity_type_$$": [
"Account"
],
"_mRuleUri~.@ps": [
"10",
"10",
"10"
],
"_mRuleUri": [
"e§Account§Rule8",
"e§Account§Rule1",
"e§Account§Rule2"
],
"AccountStatus": [
"active"
],
"UCMID": [
"c-1jjhylka"
],
"AccountStatus~.@ps": [
"10"
],
"$$_entity_type_$$~.@ps": [
"10"
],
"GlobalRegion": [
"uscan"
],
"SubRegion": [
"us - west"
],
"AccountName~.@ps": [
"10"
],
"AccountName": [
"rico simonini md"
],
"Address~.@ps": [
"10"
]
},
"generatedDocument": {
"Address": [
{
"StateProvince~.@ps": [
"10"
],
"Zip": [
{
"Zip5~.@ps": [
"10"
],
"Zip5": [
"90048"
]
},
{
"Zip5~.@ps": [
"00"
],
"Zip5": [
"90048"
]
}
],
"VerificationStatus": [
"verified"
],
"AddressLine1": [
"640 s san vicente blvd ste 498"
],
"AddressLine1~.@ps": [
"10"
],
"Country~.@ps": [
"10"
],
"StateProvince": [
"ca"
],
"VerificationStatus~.@ps": [
"10"
],
"Country": [
"united states"
],
"City": [
"los angeles"
],
"Zip~.@ps": [
"10",
"00"
],
"City~.@ps": [
"10"
]
}
],
"UCMID~.@ps": [
"10"
],
"~@i": "1jjhYlKa",
"SubRegion~.@ps": [
"10"
],
"GlobalRegion~.@ps": [
"10"
],
"$$_entity_type_$$": [
"Account"
],
"_mRuleUri~.@ps": [
"10",
"10",
"10"
],
"_mRuleUri": [
"e§Account§Rule8",
"e§Account§Rule1",
"e§Account§Rule2"
],
"AccountStatus": [
"active"
],
"UCMID": [
"c-1jjhylka"
],
"AccountStatus~.@ps": [
"10"
],
"$$_entity_type_$$~.@ps": [
"10"
],
"GlobalRegion": [
"uscan"
],
"SubRegion": [
"us - west"
],
"AccountName~.@ps": [
"10"
],
"AccountName": [
"rico simonini md"
],
"Address~.@ps": [
"10"
]
}
},
"second": {
"areEqual": true,
"databaseDocument": {
"Address": [
{
"StateProvince~.@ps": [
"10"
],
"Zip": [
{
"Zip5~.@ps": [
"10"
],
"Zip5": [
"90048"
]
},
{
"Zip5~.@ps": [
"00"
],
"Zip5": [
"90048-4654"
]
}
],
"VerificationStatus": [
"verified"
],
"AddressLine1": [
"640 s san vicente blvd ste 498"
],
"AddressLine1~.@ps": [
"10"
],
"Country~.@ps": [
"10"
],
"StateProvince": [
"ca"
],
"VerificationStatus~.@ps": [
"10"
],
"Country": [
"united states"
],
"City": [
"los angeles"
],
"Zip~.@ps": [
"10",
"00"
],
"City~.@ps": [
"10"
]
}
],
"UCMID~.@ps": [
"10"
],
"~@i": "1Boiu5Tx",
"SubRegion~.@ps": [
"10"
],
"GlobalRegion~.@ps": [
"10"
],
"$$_entity_type_$$": [
"Account"
],
"_mRuleUri~.@ps": [
"10",
"10",
"10"
],
"_mRuleUri": [
"e§Account§Rule8",
"e§Account§Rule1",
"e§Account§Rule2"
],
"AccountStatus": [
"active"
],
"UCMID": [
"u-00758569"
],
"AccountStatus~.@ps": [
"10"
],
"$$_entity_type_$$~.@ps": [
"10"
],
"GlobalRegion": [
"uscan"
],
"SubRegion": [
"us - west"
],
"AccountName~.@ps": [
"10"
],
"AccountName": [
"new york institute of hormone replacement"
],
"Address~.@ps": [
"10"
]
},
"generatedDocument": {
"Address": [
{
"StateProvince~.@ps": [
"10"
],
"Zip": [
{
"Zip5~.@ps": [
"10"
],
"Zip5": [
"90048"
]
},
{
"Zip5~.@ps": [
"00"
],
"Zip5": [
"90048-4654"
]
}
],
"VerificationStatus": [
"verified"
],
"AddressLine1": [
"640 s san vicente blvd ste 498"
],
"AddressLine1~.@ps": [
"10"
],
"Country~.@ps": [
"10"
],
"StateProvince": [
"ca"
],
"VerificationStatus~.@ps": [
"10"
],
"Country": [
"united states"
],
"City": [
"los angeles"
],
"Zip~.@ps": [
"10",
"00"
],
"City~.@ps": [
"10"
]
}
],
"UCMID~.@ps": [
"10"
],
"~@i": "1Boiu5Tx",
"SubRegion~.@ps": [
"10"
],
"GlobalRegion~.@ps": [
"10"
],
"$$_entity_type_$$": [
"Account"
],
"_mRuleUri~.@ps": [
"10",
"10",
"10"
],
"_mRuleUri": [
"e§Account§Rule8",
"e§Account§Rule1",
"e§Account§Rule2"
],
"AccountStatus": [
"active"
],
"UCMID": [
"u-00758569"
],
"AccountStatus~.@ps": [
"10"
],
"$$_entity_type_$$~.@ps": [
"10"
],
"GlobalRegion": [
"uscan"
],
"SubRegion": [
"us - west"
],
"AccountName~.@ps": [
"10"
],
"AccountName": [
"new york institute of hormone replacement"
],
"Address~.@ps": [
"10"
]
}
}
},
"versions": {
"first": {
"EntityVersion": 2000000002,
"MatchDocumentVersion": 2000000002
},
"second": {
"EntityVersion": 3000000005,
"MatchDocumentVersion": 3000000005
}
},
"rules": {
"configuration/entityTypes/Account/matchGroups/Rule8": {
"matchTokens": {
"first": {
"foundInMatchTables": true,
"tokens": [
"FSNT:90048",
"BLVD-SAN-STE-FSNT:90048"
]
},
"second": {
"foundInMatchTables": true,
"tokens": [
"FSNT:90048",
"BLVD-SAN-STE-FSNT:90048",
"BLVD-SAN-STE-FSNT:900484654",
"FSNT:900484654"
]
},
"intersection": {
"tokens": [
"FSNT:90048",
"BLVD-SAN-STE-FSNT:90048"
]
}
},
"rule": {
"and": [
{
"and": [
{
"and": [
{
"or": [
{
"fuzzy": {
"AccountName": {
"match": false
}
}
},
{
"fuzzy": {
"CustomerDetails.LegalTradestyleNameAlias": {
"match": false
}
}
},
{
"fuzzy": {
"CustomerDetails.LegalTradestyleName": {
"match": false
}
}
}
]
},
{
"fuzzy": {
"Address.AddressLine1": {
"match": true
}
}
}
]
},
{
"exact": {
"Address.Zip.Zip5": {
"match": true
}
},
"exactOrNull": {
"Address.Country": {
"match": true
},
"Address.City": {
"match": true
},
"Address.StateProvince": {
"match": true
},
"Address.AddressLine2": {
"match": true
}
}
}
]
}
]
},
"matched": false,
"matchedByDocuments": false
},
"configuration/entityTypes/Account/matchGroups/Rule6": {
"matchTokens": {
"first": {
"foundInMatchTables": true
},
"second": {
"foundInMatchTables": true
},
"intersection": {}
},
"rule": {
"and": [
{
"and": [
{
"equals": [
{
"attribute": "GlobalRegion",
"first": true,
"second": true,
"value": [
"uscan"
]
}
],
"notEquals": [
{
"attribute": "AccountStatus",
"first": true,
"second": true,
"value": [
"no-ucm"
]
},
{
"attribute": "Address.VerificationStatus",
"first": false,
"second": false,
"value": [
"verified"
]
}
],
"exact": {
"Address.Zip.Zip5": {
"match": false
}
},
"exactOrNull": {
"Address.Country": {
"match": true
},
"Address.City": {
"match": true
},
"Address.StateProvince": {
"match": true
},
"Address.AddressLine2": {
"match": true
}
},
"fuzzy": {
"AccountName": {
"match": true
},
"Address.AddressLine1": {
"match": false
}
}
}
]
}
]
},
"matched": false,
"matchedByDocuments": false
},
"configuration/entityTypes/Account/matchGroups/Rule1": {
"matchTokens": {
"first": {
"foundInMatchTables": true,
"tokens": [
"c1jjhylka"
]
},
"second": {
"foundInMatchTables": true,
"tokens": [
"u00758569"
]
},
"intersection": {}
},
"rule": {
"and": [
{
"and": [
{
"exact": {
"UCMID": {
"match": false
}
}
}
]
}
]
},
"matched": false,
"matchedByDocuments": false
},
"configuration/entityTypes/Account/matchGroups/Rule5": {
"matchTokens": {
"first": {
"foundInMatchTables": true
},
"second": {
"foundInMatchTables": true
},
"intersection": {}
},
"rule": {
"and": [
{
"and": [
{
"equals": [
{
"attribute": "SubRegion",
"first": false,
"second": false,
"value": [
"anz"
]
}
],
"exact": {
"CustomerDetails.TaxID": {
"match": false
},
"Address.Zip.Zip5": {
"match": true
}
},
"exactOrNull": {
"Address.City": {
"match": true
},
"Address.StateProvince": {
"match": true
},
"Address.AddressLine2": {
"match": true
}
},
"fuzzy": {
"AccountName": {
"match": false
},
"Address.AddressLine1": {
"match": true
}
}
}
]
}
]
},
"matched": false,
"matchedByDocuments": false
},
"configuration/entityTypes/Account/matchGroups/Rule4": {
"matchTokens": {
"first": {
"foundInMatchTables": true
},
"second": {
"foundInMatchTables": true
},
"intersection": {}
},
"rule": {
"and": [
{
"and": [
{
"equals": [
{
"attribute": "SubRegion",
"first": false,
"second": false,
"value": [
"brazil"
]
},
{
"attribute": "GovtIdentifiers.Type",
"first": false,
"second": false,
"value": [
"site tax id"
]
}
],
"exact": {
"GovtIdentifiers.ID": {
"match": false
}
}
}
]
}
]
},
"matched": false,
"matchedByDocuments": false
},
"configuration/entityTypes/Account/matchGroups/Rule3": {
"matchTokens": {
"first": {
"foundInMatchTables": true
},
"second": {
"foundInMatchTables": true
},
"intersection": {}
},
"rule": {
"and": [
{
"and": [
{
"notEquals": [
{
"attribute": "Address.VerificationStatus",
"first": false,
"second": false,
"value": [
"verified"
]
}
],
"exactOrNull": {
"Address.Country": {
"match": true
},
"Address.City": {
"match": true
},
"Address.StateProvince": {
"match": true
},
"Address.AddresssLine2": {
"match": true
},
"Address.Zip.Zip5": {
"match": true
}
},
"fuzzy": {
"AccountName": {
"match": true
},
"Address.AddressLine1": {
"match": false
}
}
}
]
}
]
},
"matched": false,
"matchedByDocuments": false
},
"configuration/entityTypes/Account/matchGroups/Rule2": {
"matchTokens": {
"first": {
"foundInMatchTables": true,
"tokens": [
"90048:640 s san vicente blvd ste 498:verified:48-I",
"90048:640 s san vicente blvd ste 498:verified:14q-144-289",
"90048:640 s san vicente blvd ste 498:verified:4gfFGy-W",
"90048:640 s san vicente blvd ste 498:verified:8X-0"
]
},
"second": {
"foundInMatchTables": true,
"tokens": [
"90048:640 s san vicente blvd ste 498:verified:aED-4Omq-JFa",
"900484654:640 s san vicente blvd ste 498:verified:1-8K",
"90048:640 s san vicente blvd ste 498:verified:1CM-Y6L",
"90048:640 s san vicente blvd ste 498:verified:9ynXgv-4i",
"900484654:640 s san vicente blvd ste 498:verified:9ynXgv-4i",
"90048:640 s san vicente blvd ste 498:verified:1-8K",
"900484654:640 s san vicente blvd ste 498:verified:aED-4Omq-JFa",
"900484654:640 s san vicente blvd ste 498:verified:1CM-Y6L",
"900484654:640 s san vicente blvd ste 498:verified:IALWz-18E",
"900484654:640 s san vicente blvd ste 498:verified:4O-8a",
"90048:640 s san vicente blvd ste 498:verified:0-18D",
"900484654:640 s san vicente blvd ste 498:verified:0-18D",
"90048:640 s san vicente blvd ste 498:verified:IALWz-18E",
"90048:640 s san vicente blvd ste 498:verified:4O-8a"
]
},
"intersection": {}
},
"rule": {
"and": [
{
"and": [
{
"equals": [
{
"attribute": "Address.VerificationStatus",
"first": true,
"second": true,
"value": [
"verified"
]
}
],
"exact": {
"Address.Zip.Zip5": {
"match": true
},
"Address.AddressLine1": {
"match": true
}
},
"exactOrNull": {
"Address.City": {
"match": true
},
"Address.StateProvince": {
"match": true
},
"Address.AddressLine2": {
"match": true
}
},
"fuzzy": {
"AccountName": {
"match": true
}
}
}
]
}
]
},
"matched": false,
"matchedByDocuments": true
}
}
}
Answer
In this case, the comparison was triggered by another rule but the comparator will perform a comparison in the documents through all rules. In this case, the comparison is triggered by Rule 8, but the match is showing through Rule 2.
The token process happens first and it is independent of each rule. It finds the candidate pool and runs through all of the comparators in each rule.
Changing the external match rule to "SCOPE=EXTERNAL" for comparison in the normal match rules will not affect the outcome here.
Comments
Please sign in to leave a comment.