Wikibase
MediaWiki Wikibase extension
|
Generic interface for searching entities. More...
Public Member Functions | |
getRankedSearchResults ( $text, $languageCode, $entityType, $limit, $strictLanguage) | |
Get entities matching the search term. More... | |
Generic interface for searching entities.
Wikibase\Repo\Api\EntitySearchHelper::getRankedSearchResults | ( | $text, | |
$languageCode, | |||
$entityType, | |||
$limit, | |||
$strictLanguage | |||
) |
Get entities matching the search term.
string | $text | |
string | $languageCode | |
string | $entityType | |
int | $limit | |
bool | $strictLanguage |
EntitySearchException | when a problem occurs fetching data from the underlying datastore |
Implemented in Wikibase\Repo\FederatedProperties\NullEntitySearchHelper, Wikibase\Repo\FederatedProperties\ApiEntitySearchHelper, Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper, Wikibase\Repo\Api\FedPropertiesTypeDispatchingEntitySearchHelper, Wikibase\Repo\Api\EntityTermSearchHelper, Wikibase\Repo\Api\EntityIdSearchHelper, Wikibase\Repo\Api\ConceptUriSearchHelper, and Wikibase\Repo\Api\CombinedEntitySearchHelper.