\Elastica\MultiResultSet

Elastica multi search result set List of result sets for each search request.

Summary

Methods
Properties
Constants
__construct()
getResultSets()
getResponse()
hasError()
current()
next()
key()
valid()
rewind()
count()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
No public properties found
No constants found
No protected methods found
$_resultSets
$_position
$_response
N/A
No private methods found
No private properties found
N/A

Properties

$_resultSets

$_resultSets : array|array<mixed,\Elastica\ResultSet>

Result Sets.

Type

array|array<mixed,\Elastica\ResultSet> — Result Sets

$_position

$_position : integer

Current position.

Type

integer — Current position

$_response

$_response : \Elastica\Response

Response.

Type

\Elastica\Response — Response object

Methods

__construct()

__construct(\Elastica\Response  $response, array<mixed,\Elastica\ResultSet>  $resultSets) 

Constructs ResultSet object.

Parameters

\Elastica\Response $response
array<mixed,\Elastica\ResultSet> $resultSets

getResultSets()

getResultSets() : array<mixed,\Elastica\ResultSet>

Returns

array<mixed,\Elastica\ResultSet>

getResponse()

getResponse() : \Elastica\Response

Returns response object.

Returns

\Elastica\Response

Response object

hasError()

hasError() : boolean

There is at least one result set with error.

Returns

boolean

current()

current() 

{@inheritdoc}

next()

next() 

{@inheritdoc}

key()

key() 

{@inheritdoc}

valid()

valid() 

{@inheritdoc}

rewind()

rewind() 

{@inheritdoc}

count()

count() 

{@inheritdoc}

offsetExists()

offsetExists(  $offset) 

{@inheritdoc}

Parameters

$offset

offsetGet()

offsetGet(  $offset) 

{@inheritdoc}

Parameters

$offset

offsetSet()

offsetSet(  $offset,   $value) 

{@inheritdoc}

Parameters

$offset
$value

offsetUnset()

offsetUnset(  $offset) 

{@inheritdoc}

Parameters

$offset