games.gamesgamesgamesgames.backfillGameSlugs
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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | gamesgamesgamesgames.games |
| Commit rev | 3n2eoyaummw25 |
| Indexed |
Showing version bafyreibytciroz4g5k7jnl4mehpzszsrvke25dhquvz6yuwiwzghu3h6sq. Show the latest
Procedure
procedure · POSTInput
application/jsondryRun
booleanChoose slugs and compare search documents, but write nothing. Pass false to write.
default: true
maxGames
integerStop after this many games, for a trial run.
minimum: 1
uris
arrayOnly these game URIs. A game that already has a slug gets it copied to its search document if that is missing it. Without uris, the job walks every game that has no slug.
minLength: 1maxLength: 5000
Output
application/jsonalreadyQueued
booleanTrue when a backfill 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 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.
-
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.
-
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.