public function geoHashGrid($alias, $field, $precision, $size = null, $shardSize = null)
    {
        $aggregation = new GeoHashGridAggregation($alias, $field, $precision, $size, $shardSize);

        $this->append($aggregation);
    }
public function geoHashGrid($alias, $field, $precision, $size = null, $shardSize = null)
    {
        $aggregation = new GeoHashGridAggregation($alias, $field, $precision, $size, $shardSize);

        $this->append($aggregation);
    }
public function geoHashGrid ( $ alias , $ field , $ precision , $ size = null , $ shardSize = null ) { $ aggregation = new GeoHashGridAggregation ( $ alias , $ field , $ precision , $ size , $ shardSize ) ; $ this -> append ( $ aggregation ) ; }
Add a geo hash grid aggregate.

@param string      $alias
@param null|string $field
@param float       $precision
@param null        $size
@param null        $shardSize
Add a geo hash grid aggregate .