Wikibase
MediaWiki Wikibase extension
|
Generic interface for searching entities. More...
Public Member Functions | |
getRankedSearchResults ( $text, $languageCode, $entityType, $limit, $strictLanguage, ?string $profileContext) | |
Get entities matching the search term. | |
Generic interface for searching entities.
Wikibase\Repo\Api\EntitySearchHelper::getRankedSearchResults | ( | $text, | |
$languageCode, | |||
$entityType, | |||
$limit, | |||
$strictLanguage, | |||
?string | $profileContext ) |
Get entities matching the search term.
string | $text | |
string | $languageCode | |
string | $entityType | |
int | $limit | |
bool | $strictLanguage | |
string | null | $profileContext | indication given to the engine on the context this search is made (might affect ranking) |
EntitySearchException | when a problem occurs fetching data from the underlying datastore |
Implemented in Wikibase\Repo\Api\CombinedEntitySearchHelper, Wikibase\Repo\Api\ConceptUriSearchHelper, Wikibase\Repo\Api\EntityIdSearchHelper, Wikibase\Repo\Api\EntityTermSearchHelper, Wikibase\Repo\Api\FedPropertiesTypeDispatchingEntitySearchHelper, Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper, Wikibase\Repo\FederatedProperties\ApiEntitySearchHelper, and Wikibase\Repo\FederatedProperties\NullEntitySearchHelper.