public geohash_grid ( string $name, string $field ) : Elastica\Aggregation\GeohashGrid | ||
$name | string | the name of this aggregation |
$field | string | the field on which to perform this aggregation |
return | Elastica\Aggregation\GeohashGrid |
public function geohash_grid($name, $field)
{
return new GeohashGrid($name, $field);
}