CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Basic implementation of a FallbackRunnerContext. More...
Public Member Functions | |
__construct (CirrusSearchResultSet $initialResultSet, SearcherFactory $searcherFactory, NamespacePrefixParser $namespacePrefixParser, CirrusSearchHookRunner $cirrusSearchHookRunner) | |
setPreviousResultSet (CirrusSearchResultSet $previousResultSet) | |
Initialize the previous resultset (only visible by FallbackRunner) | |
resetSuggestResponse () | |
setSuggestResponse (ElasticaResultSet $suggestResponse) | |
hasMethodResponse () | |
@inheritDoc | |
getInitialResultSet () | |
getPreviousResultSet () | |
getMethodResponse () | |
costlyCallAllowed () | |
makeSearcher (SearchQuery $rewrittenQuery) | |
getNamespacePrefixParser () | |
getCirrusSearchHookRunner () | |
Basic implementation of a FallbackRunnerContext.
Should only be visible by FallbackRunner as its states should be closely maintained by the FallbackRunner.
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::__construct | ( | CirrusSearchResultSet | $initialResultSet, |
SearcherFactory | $searcherFactory, | ||
NamespacePrefixParser | $namespacePrefixParser, | ||
CirrusSearchHookRunner | $cirrusSearchHookRunner ) |
CirrusSearchResultSet | $initialResultSet | |
SearcherFactory | $searcherFactory | |
NamespacePrefixParser | $namespacePrefixParser | |
CirrusSearchHookRunner | $cirrusSearchHookRunner |
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::costlyCallAllowed | ( | ) |
Implements CirrusSearch\Fallbacks\FallbackRunnerContext.
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::getCirrusSearchHookRunner | ( | ) |
Implements CirrusSearch\Fallbacks\FallbackRunnerContext.
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::getInitialResultSet | ( | ) |
Implements CirrusSearch\Fallbacks\FallbackRunnerContext.
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::getMethodResponse | ( | ) |
Implements CirrusSearch\Fallbacks\FallbackRunnerContext.
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::getNamespacePrefixParser | ( | ) |
Implements CirrusSearch\Fallbacks\FallbackRunnerContext.
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::getPreviousResultSet | ( | ) |
Implements CirrusSearch\Fallbacks\FallbackRunnerContext.
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::hasMethodResponse | ( | ) |
@inheritDoc
Implements CirrusSearch\Fallbacks\FallbackRunnerContext.
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::makeSearcher | ( | SearchQuery | $rewrittenQuery | ) |
\CirrusSearch\Search\SearchQuery | $rewrittenQuery |
Implements CirrusSearch\Fallbacks\FallbackRunnerContext.
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::setPreviousResultSet | ( | CirrusSearchResultSet | $previousResultSet | ) |
Initialize the previous resultset (only visible by FallbackRunner)
CirrusSearchResultSet | $previousResultSet |
CirrusSearch\Fallbacks\FallbackRunnerContextImpl::setSuggestResponse | ( | ElasticaResultSet | $suggestResponse | ) |
ElasticaResultSet | $suggestResponse |