Elastification PHP Client API
Interface

Elastification\Client\ClientInterface

interface ClientInterface

Interface ClientInterface

Constants

VERSION

PATH_DIVIDER

ELASTICSEARCH_VERSION_0_90_X

ELASTICSEARCH_VERSION_1_0_X

ELASTICSEARCH_VERSION_1_1_X

ELASTICSEARCH_VERSION_1_2_X

ELASTICSEARCH_VERSION_1_3_X

Methods

ResponseInterface send(RequestInterface $request)

Sends the request through the configured transport.

RequestInterface getRequest(string $name)

Gets a predefined and registered request.

Details

at line 76
public ResponseInterface send(RequestInterface $request)

Sends the request through the configured transport.

Parameters

RequestInterface $request

Return Value

ResponseInterface

Exceptions

ClientException
RequestException

at line 86
public RequestInterface getRequest(string $name)

Gets a predefined and registered request.

Parameters

string $name

Return Value

RequestInterface