NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Geo Shape Circle Query Usage
editGeo Shape Circle Query Usage
editFluent DSL example
editq .GeoShapeCircle(c => c .Name("named_query") .Boost(1.1) .Field(p => p.LocationShape) .Coordinates(CircleCoordinates) .Radius("100m") .Relation(GeoShapeRelation.Intersects) )
Object Initializer syntax example
editnew GeoShapeCircleQuery { Name = "named_query", Boost = 1.1, Field = Field<Project>(p => p.LocationShape), Shape = new CircleGeoShape(CircleCoordinates) { Radius = "100m" }, Relation = GeoShapeRelation.Intersects, }