|
| getRankedSearchResults ( $text, $languageCode, $entityType, $limit, $strictLanguage, ?string $profileContext) |
| Get entities matching the search term.
|
|
- Copyright
- GPL-2.0-or-later
◆ 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 | $profileContext | indication given to the engine on the context this search is made (might affect ranking) |
- Returns
- TermSearchResult[] Key: string Serialized EntityId
- Exceptions
-
EntitySearchException | when 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: