Class GeoDistanceQueryDescriptor<T>
Inheritance
GeoDistanceQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class GeoDistanceQueryDescriptor<T> : FieldNameQueryDescriptorBase<GeoDistanceQueryDescriptor<T>, IGeoDistanceQuery, T>, IDescriptor, IGeoDistanceQuery, IFieldNameQuery, IQuery where T : class
Type Parameters
Properties
|
Edit this page
View Source
Conditionless
Whether the query is conditionless. A conditionless query is not serialized as part of the request
sent to OpenSearch.
Declaration
protected override bool Conditionless { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Distance(Distance)
Declaration
public GeoDistanceQueryDescriptor<T> Distance(Distance distance)
Parameters
Returns
|
Edit this page
View Source
Distance(double, DistanceUnit)
Declaration
public GeoDistanceQueryDescriptor<T> Distance(double distance, DistanceUnit unit)
Parameters
Returns
|
Edit this page
View Source
DistanceType(GeoDistanceType?)
Declaration
public GeoDistanceQueryDescriptor<T> DistanceType(GeoDistanceType? type)
Parameters
Returns
|
Edit this page
View Source
Location(GeoLocation)
Declaration
public GeoDistanceQueryDescriptor<T> Location(GeoLocation location)
Parameters
Returns
|
Edit this page
View Source
Location(double, double)
Declaration
public GeoDistanceQueryDescriptor<T> Location(double lat, double lon)
Parameters
Returns
|
Edit this page
View Source
ValidationMethod(GeoValidationMethod?)
Declaration
public GeoDistanceQueryDescriptor<T> ValidationMethod(GeoValidationMethod? validation)
Parameters
Returns
Implements
Extension Methods