CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Profile\CompletionSearchProfileRepository Class Reference

Repository dedicated to completion queries This one cannot simply use existing implementation because we need to filter the profiles based on the availability of some fields in the index. More...

+ Inheritance diagram for CirrusSearch\Profile\CompletionSearchProfileRepository:
+ Collaboration diagram for CirrusSearch\Profile\CompletionSearchProfileRepository:

Public Member Functions

 repositoryType ()
 
 repositoryName ()
 
 getProfile ( $name)
 
 hasProfile ( $name)
 
 listExposedProfiles ()
 

Static Public Member Functions

static fromFile ( $repoType, $repoName, $phpFile, SearchConfig $config)
 
static fromConfig ( $repoType, $repoName, $configEntry, SearchConfig $config)
 
static fromRepo (SearchProfileRepository $repository, SearchConfig $config)
 

Detailed Description

Repository dedicated to completion queries This one cannot simply use existing implementation because we need to filter the profiles based on the availability of some fields in the index.

Member Function Documentation

◆ fromConfig()

static CirrusSearch\Profile\CompletionSearchProfileRepository::fromConfig ( $repoType,
$repoName,
$configEntry,
SearchConfig $config )
static
Parameters
string$repoType
string$repoName
string$configEntry
SearchConfig$config
Returns
CompletionSearchProfileRepository

◆ fromFile()

static CirrusSearch\Profile\CompletionSearchProfileRepository::fromFile ( $repoType,
$repoName,
$phpFile,
SearchConfig $config )
static
Parameters
string$repoType
string$repoName
string$phpFile
SearchConfig$config
Returns
CompletionSearchProfileRepository

◆ fromRepo()

static CirrusSearch\Profile\CompletionSearchProfileRepository::fromRepo ( SearchProfileRepository $repository,
SearchConfig $config )
static
Parameters
SearchProfileRepository$repository
SearchConfig$config
Returns
self

◆ getProfile()

CirrusSearch\Profile\CompletionSearchProfileRepository::getProfile ( $name)
Parameters
string$name
Returns
array

Implements CirrusSearch\Profile\SearchProfileRepository.

◆ hasProfile()

CirrusSearch\Profile\CompletionSearchProfileRepository::hasProfile ( $name)
Parameters
string$name
Returns
bool

Implements CirrusSearch\Profile\SearchProfileRepository.

◆ listExposedProfiles()

CirrusSearch\Profile\CompletionSearchProfileRepository::listExposedProfiles ( )

◆ repositoryName()

CirrusSearch\Profile\CompletionSearchProfileRepository::repositoryName ( )

◆ repositoryType()

CirrusSearch\Profile\CompletionSearchProfileRepository::repositoryType ( )

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