fulltext_search#
- wikibaseintegrator.wbi_helpers.fulltext_search(search, max_results=50, allow_anonymous=True, **kwargs)[source]#
Perform a fulltext search on the mediawiki instance. It’s an exception to the “only wikibase related function” rule! WikibaseIntegrator is focused on wikibase-only functions to avoid spreading out and covering all functions of MediaWiki.
- Parameters:
search (
str) – Search for page titles or content matching this value. You can use the search string to invoke special search features, depending on what the wiki’s search backend implements.max_results (
int, default:50) – How many total pages to return. The value must be between 1 and 500.allow_anonymous (
bool, default:True) – Allow anonymous interaction with the MediaWiki API. ‘True’ by default.kwargs (
Any) – Extra parameters for mediawiki_api_call_helper()
- Return type:
- Returns: