Accelerate the Value of Data

Nesting of Logical Operators

You can nest logical operators to filter better and arrive at match candidates.

Nesting of logical operators allows you to form complex boolean logic within your match group.

Sample use of the nesting of logical operators is as follows:

{
                    "uri": "configuration/entityTypes/Organization/matchGroups/ExactNameandFuzzyAddress",
                    "label": "(Fuzzy) AddressLine1, (Exact) Name, City, State, (Equals) Shipping",
                    "type": "suspect",
                    "scope": "ALL",
                    "useOvOnly": "true",
                    "rule": {
                        "matchTokenClasses": {
                            "mapping": [
                                {
                                    "attribute": "configuration/entityTypes/Organization/attributes/Addresses/attributes/AddressLine1",
                                    "class": "com.reltio.match.token.FuzzyTextAndNumberMatchToken"
                                }
                            ]
                        },
                        "comparatorClasses": {
                            "mapping": [
                                {
                                    "attribute": "configuration/entityTypes/Organization/attributes/Addresses/attributes/AddressLine1",
                                    "class": "com.reltio.match.comparator.DynamicDamerauLevenshteinDistance"
                                }
                            ]
                        },
                        "and": {
                            "exact": [
                                "configuration/entityTypes/Organization/attributes/Name",
                                "configuration/entityTypes/Organization/attributes/Addresses/attributes/City",
                                "configuration/entityTypes/Organization/attributes/Addresses/attributes/StateProvince",
                                "configuration/entityTypes/Organization/attributes/Addresses/attributes/AddressType"
                            ],
                            "equals": [
                                {
                                    "values": [
                                        "Shipping"
                                    ],
                                    "uri": "configuration/entityTypes/Organization/attributes/Addresses/attributes/AddressType"
                                }
                            ],
                            "fuzzy": [
                                "configuration/entityTypes/Organization/attributes/Addresses/attributes/AddressLine1"
                            ],
                            "ignoreInToken": [
                                "configuration/entityTypes/Organization/attributes/Addresses/attributes/AddressType",
                                "configuration/entityTypes/Organization/attributes/BuyerLifecycleStatus/attributes/BLStatus",
                                "configuration/entityTypes/Organization/attributes/Addresses/attributes/StateProvince"
                            ],
                            "notEquals": [
                                {
                                    "values": [
                                        "Virtual Account",
                                        "Internal Use Accounts"
                                    ],
                                    "uri": "configuration/entityTypes/Organization/attributes/BuyerLifecycleStatus/attributes/BLStatus"
                                }
                            ],
                            "or": {
                                "exactOrNull": [
                                    "configuration/entityTypes/Organization/attributes/DUNSNumber"
                                ],
                                "exactOrAllNull": [
                                    "configuration/entityTypes/Organization/attributes/DUNSNumber"
                                ]
                            }
                        }
                    },
                    "scoreStandalone": 0,
                    "scoreIncremental": 0
                }