public GeoDistanceQueryDescriptor <T> Location(GeoLocation location) => Assign(a => a.Location = location);
 public SuggestContextQueryDescriptor <T> Context(GeoLocation context) => Assign(a => a.Context = context);
Esempio n. 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));
Esempio n. 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);
Esempio n. 8
0
 public GeoDistanceAggregationDescriptor <T> Origin(GeoLocation geoLocation) => Assign(a => a.Origin = geoLocation);
Esempio n. 9
0
 /// <inheritdoc cref="IGeoPointProperty.NullValue" />
 public GeoPointPropertyDescriptor <T> NullValue(GeoLocation defaultValue) => Assign(defaultValue, (a, v) => a.NullValue = v);
Esempio n. 10
0
 public SuggestContextQueryDescriptor <T> Context(GeoLocation context) => Assign(context, (a, v) => a.Context = v);
Esempio n. 11
0
 public GeoLocationSuggestContextDescriptor <T> Default(GeoLocation geoPoint) => Assign(a => a.Default = geoPoint);
Esempio n. 12
0
 public GeoDistanceAggregationDescriptor <T> Origin(GeoLocation geoLocation) => Assign(geoLocation, (a, v) => a.Origin = v);