lib/Elastica/QueryBuilder/DSL/Aggregation.php
public function geo_distance(string $name, string $field, $origin): GeoDistance
    {
        return new GeoDistance($name, $field, $origin);
    }
public function geo_distance(string $name, string $field, $origin): GeoDistance
    {
        return new GeoDistance($name, $field, $origin);
    }
public function geo_distance ( string $ name , string $ field , $ origin ) : GeoDistance { return new GeoDistance ( $ name , $ field , $ origin ) ; }
geo distance aggregation.

@see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geodistance-aggregation.html

@param string       $name   the name if this aggregation
@param string       $field  the field on which to perform this aggregation
@param string|array $origin the point from which distances will be calculated

@return GeoDistance
geo distance aggregation .