CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\BuildDocument\Completion\DefaultSortSuggestionsBuilder Class Reference

Extra builder that appends the defaultsort value to suggest and suggest-stop inputs on title suggestions. More...

+ Inheritance diagram for CirrusSearch\BuildDocument\Completion\DefaultSortSuggestionsBuilder:
+ Collaboration diagram for CirrusSearch\BuildDocument\Completion\DefaultSortSuggestionsBuilder:

Public Member Functions

 getRequiredFields ()
 @inheritDoc
 
 build (array $inputDoc, $suggestType, $score, \Elastica\Document $suggestDoc, $targetNamespace)
 

Detailed Description

Extra builder that appends the defaultsort value to suggest and suggest-stop inputs on title suggestions.

Member Function Documentation

◆ build()

CirrusSearch\BuildDocument\Completion\DefaultSortSuggestionsBuilder::build ( array $inputDoc,
$suggestType,
$score,
\Elastica\Document $suggestDoc,
$targetNamespace )
Parameters
mixed[]$inputDoc
string$suggestType(title or redirect)
int$score
\Elastica\Document$suggestDocsuggestion type (title or redirect)
int$targetNamespace

Implements CirrusSearch\BuildDocument\Completion\ExtraSuggestionsBuilder.

◆ getRequiredFields()

CirrusSearch\BuildDocument\Completion\DefaultSortSuggestionsBuilder::getRequiredFields ( )

The documentation for this class was generated from the following file: