PHP Class ElasticSearcher\ElasticSearcher

ファイルを表示 Open project: madewithlove/elasticsearcher Class Usage Examples

Public Methods

Method Description
__construct ( elasticsearcher\Environment $environment )
createClient ( ) Create a client instance from the ElasticSearch SDK.
documentsManager ( ) : DocumentsManager
getClient ( ) : Elasticsearch\Client
indicesManager ( ) : IndicesManager
isHealthy ( ) : boolean
setClient ( Elasticsearch\Client $client )

Method Details

__construct() public method

public __construct ( elasticsearcher\Environment $environment )
$environment elasticsearcher\Environment

createClient() public method

Create a client instance from the ElasticSearch SDK.
public createClient ( )

documentsManager() public method

public documentsManager ( ) : DocumentsManager
return ElasticSearcher\Managers\DocumentsManager

getClient() public method

public getClient ( ) : Elasticsearch\Client
return Elasticsearch\Client

indicesManager() public method

public indicesManager ( ) : IndicesManager
return ElasticSearcher\Managers\IndicesManager

isHealthy() public method

public isHealthy ( ) : boolean
return boolean

setClient() public method

public setClient ( Elasticsearch\Client $client )
$client Elasticsearch\Client