public GeoDistanceQueryDescriptor <T> Location(GeoLocation location) => Assign(a => a.Location = location);
 public SuggestContextQueryDescriptor <T> Context(GeoLocation context) => Assign(a => a.Context = context);
Beispiel #3
0
 public GeoHashCellQueryDescriptor <T> Location(GeoLocation location) => Assign(a => a.Location   = location);
 public BoundingBoxDescriptor BottomRight(GeoLocation bottomRight) => Assign(bottomRight, (a, v) => a.BottomRight = v);
 public GeoBoundingBoxQueryDescriptor <T> BoundingBox(GeoLocation topLeft, GeoLocation bottomRight) =>
 BoundingBox(f => f.TopLeft(topLeft).BottomRight(bottomRight));
Beispiel #6
0
 public GeoDistanceQueryDescriptor <T> Location(GeoLocation location) => Assign(location, (a, v) => a.Location = v);
 public BoundingBoxDescriptor TopLeft(GeoLocation topLeft) => Assign(topLeft, (a, v) => a.TopLeft = v);
Beispiel #8
0
 public GeoDistanceAggregationDescriptor <T> Origin(GeoLocation geoLocation) => Assign(a => a.Origin = geoLocation);
Beispiel #9
0
 /// <inheritdoc cref="IGeoPointProperty.NullValue" />
 public GeoPointPropertyDescriptor <T> NullValue(GeoLocation defaultValue) => Assign(defaultValue, (a, v) => a.NullValue = v);
Beispiel #10
0
 public SuggestContextQueryDescriptor <T> Context(GeoLocation context) => Assign(context, (a, v) => a.Context = v);
Beispiel #11
0
 public GeoLocationSuggestContextDescriptor <T> Default(GeoLocation geoPoint) => Assign(a => a.Default = geoPoint);
Beispiel #12
0
 public GeoDistanceAggregationDescriptor <T> Origin(GeoLocation geoLocation) => Assign(geoLocation, (a, v) => a.Origin = v);