Does Match Analysis include disabled match rules?

Question

Match Analysis in the Console includes disabled match rules in its results. How can you analyze only the enabled rules? And do you need to rebuild the match tables before running the analysis?

Answer

Yes, disabled rules are included. By default, the match rule analyzer evaluates rules of every scope, including NONE, the scope that disables a rule. The Console job has no setting to change this, and the Match Rule filter on the results page only changes which results are shown.

Analyze only enabled rules

Run Match Rule Analyzer version 2 through the API and leave NONE out of profiling.scopes:

POST https://<environment>.reltio.com/reltio/tools/<tenantId>/analyzeMatchRules/v2
Authorization: Bearer <access_token>
Content-Type: application/json

{
  "entityTypes": ["<EntityType>"],
  "profiling": {
    "enabled": true,
    "samplingAlgorithm": { "name": "SEQUENCE" },
    "scopes": ["ALL", "INTERNAL", "EXTERNAL"]
  }
}
  • profiling.enabled must be true; it's false by default.
  • Rules with no scope default to ALL, so they're included.

You receive an email when the analysis completes. Get the results with GET https://<environment>.reltio.com/reltio/tools/<tenantId>/analyzeMatchRules/v2/profiling/<profilingId>, using the id returned by the request.

Do you need to rebuild match tables first?

Not with the request above. The analyzer profiles a sample of entities on demand, using the current configuration or one you pass in the request's model section.

The exception is MATCHES_AWARE sampling, which builds the sample from existing match information. After a rule change, that information reflects the old rules until you rebuild. The Console job can use MATCHES_AWARE, so use the API with SEQUENCE or SEARCH sampling to analyze changed rules without rebuilding.

To apply changed rules to your existing data, you still need to run Rebuild Match Tables.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.