Question
Is it possible to have two tokenizer/comparator for the same attribute? If it's possible, is it recommended?
Example
"rule": {
"cleanse": [
{
"cleanseAdapter": "com.reltio.cleanse.impl.NameDictionaryCleanser",
"mappings": [
{
"attribute": "configuration/entityTypes/Contact/attributes/FirstName",
"mandatory": false,
"allValues": false,
"cleanseAttribute": "configuration/entityTypes/Contact/attributes/FirstName"
}
]
}
],
"matchTokenClasses": {
"mapping": [
{
"attribute": "configuration/entityTypes/Contact/attributes/FirstName",
"class": "com.reltio.match.token.FuzzyTextAndNumberMatchToken"
},
{
"attribute": "configuration/entityTypes/Contact/attributes/FirstName",
"class": "com.reltio.match.token.ComplexPhoneticNameToken"
}
]
},
"comparatorClasses": {
"mapping": [
{
"attribute": "configuration/entityTypes/Contact/attributes/FirstName",
"class": "com.reltio.match.comparator.DamerauLevenshteinDistance"
},
{
"attribute": "configuration/entityTypes/Contact/attributes/FirstName",
"class": "com.reltio.match.comparator.SoundexComparator"
}
]
},
"and": {
"exact": [
"configuration/entityTypes/Contact/attributes/Email/attributes/Email"
],
"fuzzy": [
"configuration/entityTypes/Contact/attributes/FirstName"
]
}
}
Answer
One match token class per attribute is supported only
Comments
Please sign in to leave a comment.