Overview
Update index for specific records
The doIndex(Set<Id> recordSet)
method initiates a targeted indexing process for a specific set of Salesforce records identified by their IDs. This method is ideal for scenarios where only certain records need to be indexed.
Key points
- Indexes specific Salesforce records, rather than the entire object.
- Requires a set of record IDs (
recordSet
) representing the records to index. - The process runs asynchronously.
- Returns a Boolean value:
true
: Indicates that the indexing process has successfully started.false
: Indicates that the process failed to start.
Updated 17 days ago