Property | Type | Description | |
---|---|---|---|
$aggregations | array | null | The aggregations result. | |
$hits | Result of the query. | ||
$maxScore | Highest document score. | ||
$shards | |||
$timed_out | Check if the query timed out. | ||
$took | Time needed to execute the query. | ||
$totalHits | Total number of hits. |
Method | Description | |
---|---|---|
__construct ( array $results ) | _construct. | |
aggregations ( ) : array | Get aggregations. | |
hits ( ) : array | Get Hits. | |
maxScore ( ) : float | Max Score. | |
setHits ( $values ) | Set the hits value. | |
shards ( ) : array | Get Shards. | |
timedOut ( ) : boolean | Timed Out. | |
took ( ) : string | Took. | |
totalHits ( ) : integer | Total Hits. |
public aggregations ( ) : array | ||
return | array |