Purge stale records from the AI Search index
Execute a scheduled job to delete stale records from the AI Search index.
Before you begin
Role required: admin
Note:
If the glide.script_processor.admin system property's value has been changed from the default value, you need the role specified by that property value. For details on this property
value and its effects, see Restrict access to background script [Updated in Security Center 1.3 and 2.0].
About this task
If either of these conditions is satisfied for a record in the AI Search index, AI Search marks the record as stale.
- The time since the record's last update exceeds the age limit from its indexed source's retention policy
- The record no longer satisfies the filter conditions defined for its indexed source
For more information on running background scripts, see Scripts - Background module.
Procedure
Result
The background script executes, deleting stale records from the AI Search index.