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
| Kind | procedure |
|---|---|
| Authority | gamesgamesgamesgames.games |
| Commit rev | 3n2ejwp6sps25 |
| Indexed |
Procedure
procedure · POSTInput
application/jsonafter
string · at-uriResume a full scan after this game URI, such as the after of a stopped run. Cannot be combined with uris.
dryRun
booleanCompare only, and report what would be rewritten.
default: false
maxGames
integerStop after checking this many games, for a trial run.
minimum: 1
uris
arrayOnly check these game URIs. Without it, the job checks every game.
minLength: 1maxLength: 5000
Output
application/jsonalreadyQueued
booleanTrue when a search reindex was already pending or running; jobId is that job, and nothing new was queued.
maxLength: 128
status
stringThe existing job's status, when alreadyQueued is true.
maxLength: 32knownValues: pending | running
Similar lexicons
semantic matchLexicons 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.
-
games.gamesgamesgamesgames.syncWikidata
procedureQueue 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.