Class GeoDistanceAggregator
A multi-bucket range aggregator that works on geo_point fields
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Syntax
public class GeoDistanceAggregator : AggregatorBase
Properties
Field
The field's ID to execute the aggregation on.
Declaration
public string Field { get; set; }
Property Value
System.String
|
Location
The point of origin to calculate the distance from (latitude/longitude).
Declaration
public GeoLocation Location { get; set; }
Property Value
GeoLocation
|
Ranges
A list of distance ranges.
Declaration
public ICollection<GeoDistance> Ranges { get; set; }
Property Value
System.Collections.Generic.ICollection<GeoDistance>
|
Methods
FromJson(String)
Declaration
public static GeoDistanceAggregator FromJson(string data)
Parameters
System.String
data
|
Returns
GeoDistanceAggregator
|
ToJson()
Declaration
public string ToJson()
Returns
System.String
|