Method | Description | |
---|---|---|
GeoDistance ( GeoDistance geoDistance ) : |
The geo distance type used to compute the distance.
|
|
GeoDistanceSortBuilder ( string fieldName ) : Newtonsoft.Json.Linq |
Constructs a new distance based sort on a geo point like field.
|
|
Geohash ( string geohash ) : |
The geohash of the geo point to create the range distance facets from.
|
|
Missing ( object missing ) : ISortBuilder |
Not relevant.
|
|
Order ( SortOrder order ) : ISortBuilder |
The order of sorting. Defaults to ASC.
|
|
Point ( double lat, double lon ) : |
The point to create the range distance facets from.
|
|
ToJsonObject ( ) : object | ||
ToString ( ) : string | ||
Unit ( DistanceUnit unit ) : |
The distance unit to use. Defaults to KILOMETERS.
|
public GeoDistance ( GeoDistance geoDistance ) : |
||
geoDistance | GeoDistance | |
return |
public GeoDistanceSortBuilder ( string fieldName ) : Newtonsoft.Json.Linq | ||
fieldName | string | The geo point like field name. |
return | Newtonsoft.Json.Linq |
public Geohash ( string geohash ) : |
||
geohash | string | |
return |
public Missing ( object missing ) : ISortBuilder | ||
missing | object | |
return | ISortBuilder |
public Order ( SortOrder order ) : ISortBuilder | ||
order | SortOrder | |
return | ISortBuilder |
public Point ( double lat, double lon ) : |
||
lat | double | Latitude. |
lon | double | Longitude |
return |
public Unit ( DistanceUnit unit ) : |
||
unit | DistanceUnit | |
return |