Interface: ApiSearchInfo
Defined in: core/query/search.ts:116
Per-search metadata (list=search's searchinfo sibling).
Properties
approximate_totalhits?
optionalapproximate_totalhits?:true
Defined in: core/query/search.ts:127
Present (and true) when totalhits is only an approximation, i.e.
the backend stopped counting early. A Flag: the key is omitted
rather than set to false.
Since
MediaWiki 1.44
rewrittenquery?
optionalrewrittenquery?:string
Defined in: core/query/search.ts:136
The query after search-side rewriting (srinfo=rewrittenquery).
rewrittenquerysnippet?
optionalrewrittenquerysnippet?:string
Defined in: core/query/search.ts:139
HTML snippet of the rewritten query, with the changes highlighted (srinfo=rewrittenquery).
suggestion?
optionalsuggestion?:string
Defined in: core/query/search.ts:130
Suggested rewrite when the query had no/few results (srinfo=suggestion).
suggestionsnippet?
optionalsuggestionsnippet?:string
Defined in: core/query/search.ts:133
HTML snippet of the suggestion, with the changed terms highlighted (srinfo=suggestion).
totalhits?
optionaltotalhits?:number
Defined in: core/query/search.ts:118
Total number of matches (may be capped by the search backend).