◆ __construct()
CirrusSearch\Fallbacks\FallbackRunner::__construct |
( |
array | $fallbackMethods | ) |
|
- Parameters
-
FallbackMethod[] | $fallbackMethods | List of fallbacks to apply in order, keyed by name of the fallback configuration. |
◆ create()
static CirrusSearch\Fallbacks\FallbackRunner::create |
( |
SearchQuery | $query, |
|
|
InterwikiResolver | $interwikiResolver, |
|
|
| $profileContext = SearchProfileService::CONTEXT_DEFAULT, |
|
|
| $profileContextParam = [] ) |
|
static |
- Parameters
-
SearchQuery | $query | |
InterwikiResolver | $interwikiResolver | |
string | $profileContext | |
array | $profileContextParam | |
- Returns
- FallbackRunner
◆ getElasticSuggesters()
CirrusSearch\Fallbacks\FallbackRunner::getElasticSuggesters |
( |
| ) |
|
◆ getMetrics()
CirrusSearch\Fallbacks\FallbackRunner::getMetrics |
( |
| ) |
|
◆ noopRunner()
static CirrusSearch\Fallbacks\FallbackRunner::noopRunner |
( |
| ) |
|
|
static |
Noop fallback runner.
- Returns
- FallbackRunner
◆ run()
- Parameters
-
SearcherFactory | $factory | |
CirrusSearchResultSet | $initialResult | |
MSearchResponses | $responses | |
NamespacePrefixParser | $namespacePrefixParser | |
CirrusSearchHookRunner | $cirrusSearchHookRunner | |
- Returns
- CirrusSearchResultSet
The documentation for this class was generated from the following file:
- includes/Fallbacks/FallbackRunner.php