Ayuda de la API de MediaWiki

Esta es una página de documentación autogenerada de la API de MediaWiki.

Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

meta=WikiSearch

(main | query | WikiSearch)
  • Este módulo requiere permisos de lectura.
  • Fuente: WikiSearch
  • Licencia: GPL-2.0-or-later

Perform advanced search queries against an ElasticSearch backend

Parámetros específicos:
Other general parameters are available.
pageid

The page ID of the page that contains the search engine config for the current request

Este parámetro es obligatorio.
Tipo: entero
term

The search query term used for full-text search

filter

An array of filters (as JSON) to apply to the search

aggregations

An array of aggregations (as JSON) to apply to the search

sortings

An array of sortings (as JSON) to apply to the search

from

From which offset to return search results

Tipo: entero
limit

The maximum number of search results to return

Tipo: entero