◆ __construct()
CirrusSearch\Fallbacks\IndexLookupFallbackMethod::__construct |
( |
SearchQuery | $query, |
|
|
| $index, |
|
|
| $queryTemplate, |
|
|
| $suggestionField, |
|
|
array | $queryParams, |
|
|
array | $metricFields, |
|
|
array | $profileParams ) |
- Parameters
-
SearchQuery | $query | |
string | $index | |
array | $queryTemplate | |
string | $suggestionField | |
string[] | $queryParams | |
string[] | $metricFields | Additional stored fields to request and report with metrics. |
array | $profileParams | |
◆ build()
static CirrusSearch\Fallbacks\IndexLookupFallbackMethod::build |
( |
SearchQuery | $query, |
|
|
array | $params, |
|
|
InterwikiResolver | $interwikiResolver = null ) |
|
static |
- Parameters
-
SearchQuery | $query | |
array | $params | |
InterwikiResolver | null | $interwikiResolver | |
- Returns
- FallbackMethod|null the method instance or null if unavailable
Implements CirrusSearch\Fallbacks\FallbackMethod.
◆ getMetrics()
CirrusSearch\Fallbacks\IndexLookupFallbackMethod::getMetrics |
( |
| ) |
|
◆ getSearchRequest()
CirrusSearch\Fallbacks\IndexLookupFallbackMethod::getSearchRequest |
( |
Client | $client | ) |
|
◆ rewrite()
Rewrite the results, A costly call is allowed here, if nothing is to be done $previousSet must be returned.
- Parameters
-
FallbackRunnerContext | $context | |
- Returns
- FallbackStatus
Implements CirrusSearch\Fallbacks\FallbackMethod.
◆ successApproximation()
The documentation for this class was generated from the following file:
- includes/Fallbacks/IndexLookupFallbackMethod.php