Wikibase
MediaWiki Wikibase extension
|
EntitySearchHelper implementation invoked when federated properties is enabled which uses entity configuration to instantiate the specific handler. More...
Public Member Functions | |||||||||||||||||||||
__construct (EntitySearchHelper $federatedPropertiesEntitySearchHelper, TypeDispatchingEntitySearchHelper $typeDispatchingEntitySearchHelper) | |||||||||||||||||||||
getRankedSearchResults ( $text, $languageCode, $entityType, $limit, $strictLanguage, ?string $profileContext) | |||||||||||||||||||||
Get entities matching the search term.
| |||||||||||||||||||||
Private Attributes | |
$federatedPropertiesEntitySearchHelper | |
$typeDispatchingEntitySearchHelper | |
EntitySearchHelper implementation invoked when federated properties is enabled which uses entity configuration to instantiate the specific handler.
Wikibase\Repo\Api\FedPropertiesTypeDispatchingEntitySearchHelper::__construct | ( | EntitySearchHelper | $federatedPropertiesEntitySearchHelper, |
TypeDispatchingEntitySearchHelper | $typeDispatchingEntitySearchHelper ) |
Wikibase\Repo\Api\FedPropertiesTypeDispatchingEntitySearchHelper::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 |
Implements Wikibase\Repo\Api\EntitySearchHelper.
|
private |
|
private |