games.gamesgamesgamesgames.reindexSearchGames

Queue a job that finds games whose search document is missing, gutted or stale, and rewrites those documents from the index. Admins only. One search reindex runs at a time, and none while a catalogue reindex is pending or running. Run with dryRun first.

Details · procedure
Kindprocedure
Authoritygamesgamesgamesgames.games
Commit rev3n2ejwp6sps25
Indexed

Procedure

procedure · POST

Input

application/json

after

string · at-uri

Resume a full scan after this game URI, such as the after of a stopped run. Cannot be combined with uris.

dryRun

boolean

Compare only, and report what would be rewritten.

  • default: false

maxGames

integer

Stop after checking this many games, for a trial run.

  • minimum: 1

uris

array

Only check these game URIs. Without it, the job checks every game.

  • minLength: 1
  • maxLength: 5000
itemsstring · at-uri

Output

application/json

True when a search reindex was already pending or running; jobId is that job, and nothing new was queued.

jobId

requiredstring
  • maxLength: 128

status

string

The existing job's status, when alreadyQueued is true.

  • maxLength: 32
  • knownValues: pending | running

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Queue a job that brings the index rows of these catalogue games back in line with the catalogue PDS. The catalogue repo itself is not changed. Admins only. One reindex runs at a time.

  • Queue a job that gives games with no slug one, and puts the slug on their search document. Existing slugs are never changed. A dry run unless dryRun is false. Admins and the maintenance account only. One backfill runs at a time.

  • Queue a job that copies Wikidata's sitelink counts, publishers, mod and fan game classes, and English Wikipedia articles for our games into the index, keyed by IGDB game ID. Admins only. One sync runs at a time.

  • Queue a job that recounts how many games each organization is credited as publishing. Search uses the counts to tell established publishers from fan teams. Admins only. One refresh runs at a time.