Hi Team,
We have an attribute configured as integer and there is a requirement to match based on the attribute value if there is 10% variance.
The Attribute Gross area has Data type as Integer and We tried to use RangeNumericComparator.
It seems it only works with threshold value as Number not as percentage.
"rule": {
"matchTokenClasses": {
"mapping": [
{
"attribute": "configuration/entityTypes/Property/attributes/GrossArea",
"parameters": [
{
"parameter": "groups",
"values": [
{
"classParams": {
"threshold": "10%"
},
"className": "com.reltio.match.token.RangeNumericMatchToken"
}
]
}
],
"class": "com.reltio.match.token.CustomMatchToken"
}
]
},
"comparatorClasses": {
"mapping": [
{
"attribute": "configuration/entityTypes/Property/attributes/GrossArea",
"parameters": [
{
"parameter": "groups",
"values": [
{
"classParams": {
"threshold": "10%"
},
"className": "com.reltio.match.comparator.RangeNumericComparator"
}
]
}
],
"class": "com.reltio.match.comparator.CustomComparator"
}
]
},
"and": {
"fuzzy": [
"configuration/entityTypes/Property/attributes/GrossArea"
]
}
}
Can someone please help me here?
------------------------------
Rajarshi Acherjee
LTIMindtree
Kolkata
------------------------------