PHP Class Elastica\Aggregation\GeoCentroid

Inheritance: extends AbstractAggregation
Afficher le fichier Open project: ruflin/elastica

Méthodes publiques

Méthode Description
__construct ( string $name, string $field )
setField ( string $field ) Set the field for this aggregation.

Method Details

__construct() public méthode

public __construct ( string $name, string $field )
$name string the name of this aggregation
$field string the field on which to perform this aggregation

setField() public méthode

Set the field for this aggregation.
public setField ( string $field )
$field string the name of the document field on which to perform this aggregation