Skip to content
Activity search view rebuild

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:

  1. Removes the current search index for the workspace
  2. Goes through every project and activity in the workspace
  3. 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

MetricDescription
rebuiltAlways 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

IssueSolution
Picker still shows old results after rebuildForce-refresh the browser. The browser keeps search results for a short while
Activity expected to appear is still missingCheck 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