PHP Class Isswp101\Persimmon\Collection\ElasticsearchCollection

Inheritance: extends Illuminate\Support\Collection
Afficher le fichier Open project: isswp101/elasticsearch-eloquent Class Usage Examples

Protected Properties

Свойство Type Description
$response array Elasticsearch response.

Méthodes publiques

Méthode Description
getAggregation ( string $name ) : Bucket[]
getMaxScore ( ) : integer
getShards ( ) : array
getTook ( ) : integer
getTotal ( ) : integer
isTimedOut ( ) : boolean
response ( array $response ) Put response.

Method Details

getAggregation() public méthode

public getAggregation ( string $name ) : Bucket[]
$name string
Résultat Isswp101\Persimmon\QueryBuilder\Aggregations\Bucket[]

getMaxScore() public méthode

public getMaxScore ( ) : integer
Résultat integer

getShards() public méthode

public getShards ( ) : array
Résultat array

getTook() public méthode

public getTook ( ) : integer
Résultat integer

getTotal() public méthode

public getTotal ( ) : integer
Résultat integer

isTimedOut() public méthode

public isTimedOut ( ) : boolean
Résultat boolean

response() public méthode

Put response.
public response ( array $response )
$response array

Property Details

$response protected_oe property

Elasticsearch response.
protected array $response
Résultat array