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=granthasearch

(main | granthasearch)
  • This module requires read rights.
  • Source: GranthaSearch
  • License: MIT

Substring search over indexed document blocks.

Specific parameters:
Other general parameters are available.
q

The search string (Devanagari or IAST). Matched as a literal substring.

This parameter is required.
scope

Restrict to these document ids (pipe-separated).

type

Restrict to these block types (pipe-separated), e.g. bhashya|verse.

limit

Number of results per page.

Type: integer
Default: 10
offset

Result offset for pagination.

Type: integer
Default: 0