PHP 클래스 ElasticSearcher\ElasticSearcher

파일 보기 프로젝트 열기: madewithlove/elasticsearcher 1 사용 예제들

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

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

createClient() 공개 메소드

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

documentsManager() 공개 메소드

public documentsManager ( ) : DocumentsManager
리턴 ElasticSearcher\Managers\DocumentsManager

getClient() 공개 메소드

public getClient ( ) : Elasticsearch\Client
리턴 Elasticsearch\Client

indicesManager() 공개 메소드

public indicesManager ( ) : IndicesManager
리턴 ElasticSearcher\Managers\IndicesManager

isHealthy() 공개 메소드

public isHealthy ( ) : boolean
리턴 boolean

setClient() 공개 메소드

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