PHP Class Elastica\Aggregation\GeoCentroid

Inheritance: extends AbstractAggregation
Datei anzeigen Open project: ruflin/elastica

Public Methods

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

Method Details

__construct() public method

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 method

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