ElasticsearchConnection

Extends \HttpSourceConnection

Elasticsearch Connection

package

ElasticsearchSource

subpackage

Model.Datasource

Methods

{@inheritdoc}

_extractRemoteError() : string

Response

string

{@inheritdoc}

getCandidates() : integer

Response

integer

{@inheritdoc}

getNumRows(mixed $result) : integer|string

Arguments

$result

mixed

Response

integer|string

{@inheritdoc}

getScrollId() : string

Response

string

{@inheritdoc}

request(array $request = array()) : mixed

Arguments

$request

array

Response

mixed

false on error, decoded response array on success

Reset state variables

reset() 

Properties

{@inheritdoc}

_config : array
var

Type(s)

array

Candidates count

_candidates : integer
var

Type(s)

integer

Scroll id

_scrollId : string
var

Type(s)

string