Accelerate the Value of Data

Reindexing Lookups in a Tenant

You can reindex the lookups in a tenant. You must run this task if any data synchronization issues are detected.

To reindex the lookup in a tenant, use the parameters listed in Table 1: Parameters to Reindex the Lookups.

Table 1. Parameters to Reindex the Lookups
Parameter Name Mandatory Type Description
type No String Indicates the type of lookups to reindex. If the type is not set then all lookups will be reindexed.

This is an optional parameter.

uris

No

Array Defines the list of lookup URIs to be reindexed.

Example: Reindex all lookups in a tenant


POST https://{{rdm-service}}/tasks/{{tenantId}}
Authorization: Bearer {{token}}
{
  "type": "reindex"
}

Example: Reindex lookups of certain lookup types only


POST https://{{rdm-service}}/tasks/{{tenantId}}
Authorization: Bearer {{token}}
{
  "type": "reindex",
  "parameters": {
    "type": "rdm/lookupTypes/Country"
  }
}
Example: Reindex lookups by their URIs

POST https://{{rdm-service}}/tasks/{{tenantId}}
Authorization: Bearer {{token}}
{
  "type": "reindex",
  "parameters": {
    "uris": [
      "rdm_tenant_id/Country/CA",
      "rdm_tenant_id/Country/USA",
      "rdm_tenant_id/Country/CZ"
    ]
  }
}