Activity search view rebuild
Regenerates the activity search index for the workspace.
How it works
The activity picker, activity search, and several reports use a prepared search index rather than searching all projects and activities on every keystroke. The index is kept up to date as activities and projects change. If it gets out of step (after a bulk import, a restored backup, or a fix to an invalid activity), this job rebuilds it from scratch:
- Removes the current search index for the workspace
- Goes through every project and activity in the workspace
- Adds a new search entry for each one, with the searchable text recalculated
When it runs
The job is operator-driven — there is no scheduled trigger. Run it manually when the activity picker shows outdated results.
Parameters
This job has no parameters.
Job results
| Metric | Description |
|---|---|
rebuilt | Always true on success |
The job returns success as soon as every activity has been re-indexed; per-row counters are not exposed.
When to run
- Activity picker shows activities that were renamed or deleted
- An activity does not appear in the picker but exists in the project page
- After a restore-from-backup of project data
- After a manual database fix to projects or activities
Troubleshooting
| Issue | Solution |
|---|---|
| Picker still shows old results after rebuild | Force-refresh the browser. The browser keeps search results for a short while |
| Activity expected to appear is still missing | Check that the activity is not deleted (in the recycle bin), that its project is not archived, and that the activity’s status is not disabled |