Class GeoDistanceAggregationDescriptor<T>
Inheritance
GeoDistanceAggregationDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class GeoDistanceAggregationDescriptor<T> : BucketAggregationDescriptorBase<GeoDistanceAggregationDescriptor<T>, IGeoDistanceAggregation, T>, IDescriptor, IGeoDistanceAggregation, IBucketAggregation, IAggregation where T : class
Type Parameters
Methods
|
Edit this page
View Source
DistanceType(GeoDistanceType?)
Declaration
public GeoDistanceAggregationDescriptor<T> DistanceType(GeoDistanceType? geoDistance)
Parameters
Returns
|
Edit this page
View Source
Field(Field)
Declaration
public GeoDistanceAggregationDescriptor<T> Field(Field field)
Parameters
Type |
Name |
Description |
Field |
field |
|
Returns
|
Edit this page
View Source
Field<TValue>(Expression<Func<T, TValue>>)
Declaration
public GeoDistanceAggregationDescriptor<T> Field<TValue>(Expression<Func<T, TValue>> field)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Origin(GeoLocation)
Declaration
public GeoDistanceAggregationDescriptor<T> Origin(GeoLocation geoLocation)
Parameters
Returns
|
Edit this page
View Source
Origin(double, double)
Declaration
public GeoDistanceAggregationDescriptor<T> Origin(double lat, double lon)
Parameters
Returns
|
Edit this page
View Source
Ranges(params Func<AggregationRangeDescriptor, IAggregationRange>[])
Declaration
public GeoDistanceAggregationDescriptor<T> Ranges(params Func<AggregationRangeDescriptor, IAggregationRange>[] ranges)
Parameters
Returns
|
Edit this page
View Source
Unit(DistanceUnit?)
Declaration
public GeoDistanceAggregationDescriptor<T> Unit(DistanceUnit? unit)
Parameters
Returns
Implements
Extension Methods