NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Geo Shape Multi Polygon Query Usage
editGeo Shape Multi Polygon Query Usage
editFluent DSL example
editq .GeoShapeMultiPolygon(c => c .Name("named_query") .Boost(1.1) .Field(p => p.LocationShape) .Coordinates(MultiPolygonCoordinates) .Relation(GeoShapeRelation.Intersects) )
Object Initializer syntax example
editnew GeoShapeMultiPolygonQuery { Name = "named_query", Boost = 1.1, Field = Field<Project>(p => p.LocationShape), Shape = new MultiPolygonGeoShape(MultiPolygonCoordinates), Relation = GeoShapeRelation.Intersects, }