CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Fallback method based on the elastic phrase suggester. More...
Public Member Functions | |
successApproximation (FallbackRunnerContext $context) | |
rewrite (FallbackRunnerContext $context) | |
haveSuggestion (CirrusSearchResultSet $resultSet) | |
getSuggestQueries () | |
Static Public Member Functions | |
static | build (SearchQuery $query, array $params, InterwikiResolver $interwikiResolver=null) |
Fallback method based on the elastic phrase suggester.
|
static |
SearchQuery | $query | |
array | $params | |
InterwikiResolver | null | $interwikiResolver |
Implements CirrusSearch\Fallbacks\FallbackMethod.
CirrusSearch\Fallbacks\PhraseSuggestFallbackMethod::getSuggestQueries | ( | ) |
Implements CirrusSearch\Fallbacks\ElasticSearchSuggestFallbackMethod.
CirrusSearch\Fallbacks\PhraseSuggestFallbackMethod::haveSuggestion | ( | CirrusSearchResultSet | $resultSet | ) |
CirrusSearchResultSet | $resultSet |
CirrusSearch\Fallbacks\PhraseSuggestFallbackMethod::rewrite | ( | FallbackRunnerContext | $context | ) |
FallbackRunnerContext | $context |
Implements CirrusSearch\Fallbacks\FallbackMethod.
CirrusSearch\Fallbacks\PhraseSuggestFallbackMethod::successApproximation | ( | FallbackRunnerContext | $context | ) |
FallbackRunnerContext | $context |
Implements CirrusSearch\Fallbacks\FallbackMethod.