Store the search index for finding duplicates on the object itself, to save storage space.
By default, the search index for finding duplicate records is stored in a dedicated custom object called "Plauti Deduplicate Index" (dupcheck__dcIndex__c). Each record that is indexed takes 2 KB of storage space there. In Deduplicate's index settings, this option is called "Index Object".
To save space, another option is to store the index on the records of an object itself. This will store the search index in a field on your records, which takes no additional storage space.
Do note that each time records are updated with their search index, the Last Modified date of those records will change, which might trigger automations.
For Custom Objects, and Standard Objects other than Lead, Contact or Account, an additional field is required to store the Search Index in the object record itself.
To store the Search Index for an object on the object record itself:
1. Create the Search Index field in your Object
For Lead, Contact, and Account, you can skip this step and proceed in step 2. Enable and create the Search Index for your Object.
- Go to Salesforce Setup > Object Manager > the object where you want to add the Search Index field > Fields & Relationships.
- Click New to create a new field.
- In Step 1, choose Text Area (Long).
- Click Next.
- In Step 2, fill only the following fields:
Field Label:Deduplicate Index
Field Name:dc3Index - Click Next.
- Depending on your Salesforce edition, you might now get a screen to establish field-level security. Decide who may see the Deduplicate Index field and click Next.
- Depending on your Salesforce edition, you might now get a screen where you can add the Deduplicate Index field to the page layout. Usually showing the field is not needed and only clutters the layout. If you want it for troubleshooting, add it only to an admin page layout. Click Save.
Click here to watch a short video showing all the steps.
The Search Index field has been created for your Object. Next, enable it, and create the search index.
2. Enable and create the Search Index for your Object
In the steps below, the Opportunity object is used as an example. Change to your object where needed.
- In Plauti Deduplicate, go to Deduplicate Setup.
- At left, go to Object Configuration, and click Configure at your object.
- Go to the Settings subtab.
- In the 'General' section, make sure the Search Index setting is toggled to
Active. - Scroll down to the 'Index' section and click Edit.
- At Index Location, choose
Opportunity Object -- Deduplicate Indexor the equivalent for your object.
If you do not see the Deduplicate Index option, create the 'Deduplicate Index' field first, following the steps in 1. Create the Search Index field in your Object.
For the three default objects, selectLead Object,Contact Object, orAccount Object, as for those objects the index option doesn't have the 'Deduplicate Index' suffix.
The 'Index Object' option will store the search index on the Plauti Deduplicate Index object instead of within your object. - Click Save.
- Go to the Index Batch subtab.
- Click Action and select Create Search Index.
For objects with many records, select Create Search Index (Plauti Desktop/Server) or Create Search Index (Plauti Cloud) instead. Then start the index job as described in Create a Search Index for Salesforce with Plauti Desktop, Create a Search Index for Salesforce with Plauti Server or Create a Search Index for Salesforce with Plauti Cloud. - Wait until the index job shows "Completed" at Progress.
Once the search index is created, you can start searching for duplicates within your object. How long it takes to create the search index depends on your object's record count.
The Search Index will update automatically for all records that are created or updated. After changing any search-related settings, such as Scenarios, re-create the Search Index for that object before starting a new duplicate search.
On tab Index Batch > Action, the 'Create Incremental Search Index' options are only available when the index is stored in the Index Object (Plauti Deduplicate Index), not for storing the index on your objects. This means that each search index rebuild, for example after a scenario change, is a full index rebuild that updates every record of the object. Read more in Search Index.