Click or drag to resize

WikiSiteOpenSearchAsync(String, Int32) Method

This is preliminary documentation and is subject to change.

Performs an opensearch and get results, often used for search box suggestions. (MediaWiki 1.25 or OpenSearch extension)

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Task<IList<OpenSearchResultEntry>> OpenSearchAsync(
	string searchExpression,
	int maxCount
)

Parameters

searchExpression  String
The beginning part of the title to be searched.
maxCount  Int32
Maximum number of results to return. No more than 500 (5000 for bots) allowed. prior to MW 1.28, this value was capped at 100, regardless of user permissions.

Return Value

TaskIListOpenSearchResultEntry
Search result.
Remarks
This overload will not resolve redirects.
See Also