MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cirrus-check-sanity
(main | cirrus-check-sanity)
- Denna modul är intern eller instabil. Dess funktion kan ändras utan föregående meddelande.
- Denna modul kräver läsrättigheter.
- Source: CirrusSearch
- License: GPL-2.0-or-later
Reports on the correctness of a range of page ids in the search index
Parametrar:
Other general parameters are available.
- cluster
The search cluster to check indices in
- Ett av följande värden: default
- Standard: default
- from
Page id to start checking at
- Den här parametern är obligatorisk.
- Typ: heltal
- Värdet får inte vara mindre än 0.
- limit
The number of page ids to check
- Type: integer or max
- Värdet måste ligga mellan 1 och 500.
- Standard: 100
- sequenceid
The number of times this set of page ids has been checked
- Typ: heltal
- rerenderfrequency
Number of checks after which a page should be rerendered. Based off the provided sequenceid.
- Typ: heltal
- Värdet får inte vara mindre än 2.
- Standard: 16
Example:
- Get a report on the correctness of a range of page ids in the search index
- api.php?action=cirrus-sanity-check&from=0&limit=100 [open in sandbox]