CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Search\FullTextCirrusSearchResultBuilder Class Reference

Public Member Functions

 __construct (TitleHelper $titleHelper, array $hlFieldsPerTarget, array $extraFields=[])
 
 build (\Elastica\Result $result)
 

Protected Member Functions

 getTitleHelper ()
 

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Search\FullTextCirrusSearchResultBuilder::__construct ( TitleHelper $titleHelper,
array $hlFieldsPerTarget,
array $extraFields = [] )
Parameters
TitleHelper$titleHelper
HighlightedField[][]$hlFieldsPerTargetlist of highlighted field indexed per target and sorted by priority
string[]$extraFieldslist of extra fields to extract from the source doc

Member Function Documentation

◆ build()

CirrusSearch\Search\FullTextCirrusSearchResultBuilder::build ( \Elastica\Result $result)
Parameters
\Elastica\Result$result
Returns
CirrusSearchResult

◆ getTitleHelper()

CirrusSearch\Search\FullTextCirrusSearchResultBuilder::getTitleHelper ( )
protected
Returns
TitleHelper

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