Skip to main content
Mutation

reindexProject

Schedules a full rebuild of a project's search index, for example when results look out of date. Requires the project management access. The rebuild runs in the background. Limited to a few rebuilds an hour per project; a refusal is the RATE_LIMITED error.

Arguments

  • projectIdID!

    ID of the project to reindex.

Returns

ReindexOutput!

Example

mutation ReindexProject($projectId: ID!) {
  reindexProject(projectId: $projectId) {
    enqueued
  }
}