Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\FederatedProperties\NullEntitySearchHelper Class Reference
+ Inheritance diagram for Wikibase\Repo\FederatedProperties\NullEntitySearchHelper:
+ Collaboration diagram for Wikibase\Repo\FederatedProperties\NullEntitySearchHelper:

Public Member Functions

 getRankedSearchResults ( $text, $languageCode, $entityType, $limit, $strictLanguage, ?string $profileContext)
 Get entities matching the search term.
 

Detailed Description

Member Function Documentation

◆ getRankedSearchResults()

Wikibase\Repo\FederatedProperties\NullEntitySearchHelper::getRankedSearchResults ( $text,
$languageCode,
$entityType,
$limit,
$strictLanguage,
?string $profileContext )

Get entities matching the search term.

Parameters
string$text
string$languageCode
string$entityType
int$limit
bool$strictLanguage
string | null$profileContextindication given to the engine on the context this search is made (might affect ranking)
Returns
TermSearchResult[] Key: string Serialized EntityId
Exceptions
EntitySearchExceptionwhen a problem occurs fetching data from the underlying datastore

Implements Wikibase\Repo\Api\EntitySearchHelper.


The documentation for this class was generated from the following file: