CirrusSearch
Elasticsearch-powered search for MediaWiki
|
InterwikiResolver suited for custom cirrus config: More...
Static Public Member Functions | |
static | accepts (SearchConfig $config) |
Protected Member Functions | |
loadMatrix () | |
Load the interwiki matric information The returned array must include the following keys: | |
Protected Member Functions inherited from CirrusSearch\BaseInterwikiResolver | |
minimalSearchConfig ( $wiki, array $hashConfigFlags) | |
Minimal config needed to run a search on a target wiki living on the same cluster as the host wiki. | |
Additional Inherited Members | |
Public Member Functions inherited from CirrusSearch\BaseInterwikiResolver | |
__construct (SearchConfig $config, MultiHttpClient $client, WANObjectCache $wanCache, InterwikiLookup $iwLookup) | |
getSisterProjectPrefixes () | |
getSisterProjectConfigs () | |
getInterwikiPrefix ( $wikiId) | |
getSameProjectWikiByLang ( $lang) | |
getSameProjectConfigByLang ( $lang) | |
Public Attributes inherited from CirrusSearch\InterwikiResolver | |
const | SERVICE = 'CirrusSearchInterwikiresolver' |
@const string service name | |
Protected Attributes inherited from CirrusSearch\BaseInterwikiResolver | |
SearchConfig | $config |
InterwikiLookup | $interwikiLookup |
WANObjectCache | $wanCache |
InterwikiResolver suited for custom cirrus config:
|
static |
SearchConfig | $config |
|
protected |
Load the interwiki matric information The returned array must include the following keys:
The result of this method is stored in the current InterwikiResolver instance so it can be called only once per request.
return array[]
Reimplemented from CirrusSearch\BaseInterwikiResolver.