$_maxScore
$_maxScore : float
Elastica result set.
List of all hits that are returned for a search on elasticsearch Result set implements iterator
| None found | 
$_query : \Elastica\Query
Query.
| None found | 
$_response : \Elastica\Response
Response.
| None found | 
$_results : array<mixed,\Elastica\Result>
Results.
| None found | 
| None found | 
| None found | 
| None found | 
__construct(\Elastica\Response $response, \Elastica\Query $query, array<mixed,\Elastica\Result> $results)
Constructs ResultSet object.
| \Elastica\Response | $response | Response object | 
| \Elastica\Query | $query | Query object | 
| array<mixed,\Elastica\Result> | $results | 
| None found | 
getResults() : array<mixed,\Elastica\Result>
Returns all results.
Results
| None found | 
getDocuments() : array
Returns all Documents.
Documents \Elastica\Document
| None found | 
hasSuggests() : boolean
Returns true if the response contains suggestion results; false otherwise.
| None found | 
| None found | 
hasAggregations() : boolean
Returns whether aggregations exist.
Aggregation existence
| None found | 
| None found | 
getAggregation(string  $name) : array
                Retrieve a specific aggregation from this result set.
| string | $name | the name of the desired aggregation | 
if an aggregation by the given name cannot be found
| None found | 
getTotalHits() : integer
Returns the total number of found hits.
Total hits
| None found | 
getMaxScore() : float
Returns the max score of the results found.
Max Score
| None found | 
getTotalTime() : integer
Returns the total number of ms for this search to complete.
Total time
| None found | 
hasTimedOut() : boolean
Returns true if the query has timed out.
Timed out
| None found | 
getResponse() : \Elastica\Response
Returns response object.
Response object
| None found | 
getQuery() : \Elastica\Query
| None found | 
| None found | 
countSuggests() : integer
Returns size of current suggests.
Size of suggests
| None found | 
current() : \Elastica\Result|boolean
Returns the current object of the set.
Set object or false if not valid (no more entries)
| None found | 
| None found | 
valid() : boolean
Check if an object exists at the current position.
True if object exists
| None found | 
offsetExists(integer  $offset) : boolean
                Whether a offset exists.
| integer | $offset | 
true on success or false on failure.
| None found | 
offsetGet(integer  $offset) : \Elastica\Result|null
                Offset to retrieve.
| integer | $offset | 
If offset doesn't exist
| None found | 
offsetSet(integer $offset, \Elastica\Result $value)
Offset to set.
| integer | $offset | |
| \Elastica\Result | $value | 
| None found | 
| None found |