Hi Angela,
Thanks for joining! Unfortunately there is no way to mix binary and weighted matching in one rule. However, you can approximate it by setting the weights of the non exact attributes to low values. Attributes with an undefined weight will default to 1.0, which is the highest weight.
Notice in my example below how I set the weight to .2 for non exact attributes. Maybe try something similar and if it is still bring back undesirable results set to to .1?
Let us know how it goes!
{
"uri": "configuration/entityTypes/HCP/matchGroups/ByNames",
"label": "By Names",
"type": "relevance_based",
"rule": {
"and": {
"fuzzy": [
"configuration/entityTypes/HCP/attributes/FirstName",
"configuration/entityTypes/HCP/attributes/LastName"
],
"exact": [
"configuration/entityTypes/HCP/attributes/Addresses/attributes/Addressline1",
"configuration/entityTypes/HCP/attributes/Addresses/attributes/Zip/attribute/Zip5"
],
"exactOrAllNull": [
"configuration/entityTypes/HCP/attributes/Other"
]
},
"weights": [
{
"attribute": "configuration/entityTypes/HCP/attributes/FirstName",
"weight": 0.2
},
{
"attribute": "configuration/entityTypes/HCP/attributes/FirstName",
"weight": 0.2
},
{
"attribute": "configuration/entityTypes/HCP/attributes/Suffix",
"weight": 0.1
}
],
"actionThresholds": [
{
"type": "auto_merge",
"threshold": "0.85-1.0"
},
{
"type": "potential_match",
"threshold": "0.4-0.85"
}
],
"matchTokenClass": "com.reltio.match.token.ExactMatchToken"
},
"matchServiceClass": "com.reltio.businesslogic.match.providers.internal.InternalMatchService"
}
------------------------------
Joel Snipes
------------------------------