Rebuild Match Table Task
Learn about the Rebuild match table API
- Turned on match rules
- Edited match rules
- Edited survivorship rules for any attributes included in match rules
Requests
Admin role is required:
POST {ApplicationURL}/rebuildmatchtable
Tenant admin role is required:
POST {ApplicationURL}/api/{tenantId}/rebuildmatchtable
Parameter | Required | Default Value | Description |
---|---|---|---|
tenantId | Yes | ID of the tenant to rebuild match table. | |
entityType | No | Entity type to check. All types are checked if this parameter is not specified. | |
skipEntitiesCount | No | 0 | Number of entities which are skipped during reindexing. |
entitiesLimit | No | infinity | Number of entities which are processed during reindexing. |
distributed | No | false | If set to true, the task runs in distributed mode (refer to Distributed Mode). |
taskPartsCount | No | 2 | Number of tasks which are created for distributed reindexing. Each task will reindex its own part of objects, and all of them can be executed on different API nodes in parallel. Recommended value: count of API nodes which can execute the tasks. Note: This parameter is used only in distributed mode distributed=true; otherwise, it is ignored. |
deleteOldCF | No | false | If set to true, the task deletes old matching Column Family after it is completed. |
distributedTaskIndex | No | none |
|
Body (optional)
JSON Array of entity URIs to rebuild match tables. Only match table records related to the URIs are rebuilt in this case.
PostRebuildMatchTableCheckTask
After you run the RebuildMatchTableTask, run the additional PostRebuildMatchTableCheckTask to ensure that all match documents are processed. This additional task is disabled by default. To enable this task, raise a support ticket. For details, see topic Need some help? .
- Processes the same records that the RebuildMatchTableTask processed
- Uses the same parameters and any URI list as the RebuildMatchTableTask
- Checks if the match tables are updated correctly
- The PostRebuildMatchTableCheckTask may be time consuming, and in some cases can take longer than the RebuildMatchTableTask.
- The PostRebuildMatchTableCheckTask always runs in non-distributed mode even if the parent RebuildMatchTableTask is executed in distributed mode.
RemoveOvercollisionedTokens
To remove overcollisioned flags, run removeOvercollisionedTokenstask
with remove=true parameter.