Using DAM Indexing
This topic provides information about the indexing processes required to make Digital Asset Management (DAM) a data source for the DX Picker.
Initial indexing
This process indexes all existing assets when the DAM server starts and when no DAM indexes are present in the OpenSearch middleware.
Reindexing
This process indexes all existing assets and revalidates stale indexes. You can trigger the reindexing process in two ways:
-
To start the reindexing process, trigger the
POSTendpoint named/dx/api/dam/v1/reindex. -
The following script is available in DXClient to trigger the reindexing process:
dxclient trigger-dam-reindex [options]The following options are available:
-
dxProtocol: Protocol of the DX Core server hostname: Host name of the DX Core serverdxPort: Port number of the DX Core serverdxUsername: User name of the DX Core serverdxPassword: Password of the DX Core serverdamAPIPort: Port number of the DAM API serverdamAPIVersion: Version of the DAM APIringAPIPort: Port number of the Ring API serverringAPIVersion: Version of the Ring APIltpaTokenRefreshTime (optional): LTPA token refresh time in minutesreportPath (optional): File path to download the reporthelp (optional)
Live indexing
Any changes or events related to DAM assets immediately trigger indexing. The live indexing process ensures that DAM indexes are updated in near real time. Asset creation, updates, and deletions are included in live indexing.