CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Extra builder that appends the defaultsort value to suggest and suggest-stop inputs on title suggestions. More...
Public Member Functions | |
getRequiredFields () | |
@inheritDoc | |
build (array $inputDoc, $suggestType, $score, \Elastica\Document $suggestDoc, $targetNamespace) | |
Extra builder that appends the defaultsort value to suggest and suggest-stop inputs on title suggestions.
CirrusSearch\BuildDocument\Completion\DefaultSortSuggestionsBuilder::build | ( | array | $inputDoc, |
$suggestType, | |||
$score, | |||
\Elastica\Document | $suggestDoc, | ||
$targetNamespace ) |
mixed[] | $inputDoc | |
string | $suggestType | (title or redirect) |
int | $score | |
\Elastica\Document | $suggestDoc | suggestion type (title or redirect) |
int | $targetNamespace |
Implements CirrusSearch\BuildDocument\Completion\ExtraSuggestionsBuilder.
CirrusSearch\BuildDocument\Completion\DefaultSortSuggestionsBuilder::getRequiredFields | ( | ) |
@inheritDoc
Implements CirrusSearch\BuildDocument\Completion\ExtraSuggestionsBuilder.