CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Factory class used to create InterwikiResolver. More...
Static Public Member Functions | |
static | build (SearchConfig $config, WANObjectCache $wanCache, InterwikiLookup $iwLookup, ExtensionRegistry $extensionRegistry, MultiHttpClient $client) |
Based on config variables available in $config returns the approriate the InterwikiResolver implementation. | |
Factory class used to create InterwikiResolver.
|
static |
Based on config variables available in $config returns the approriate the InterwikiResolver implementation.
Fallback to EmptyInterwikiResolver.
SearchConfig | $config | |
WANObjectCache | $wanCache | Cache object for caching repeated requests |
InterwikiLookup | $iwLookup | |
ExtensionRegistry | $extensionRegistry | |
MultiHttpClient | $client | http client to fetch cirrus config |