NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Geo Shape Multi Point Query Usageedit
Fluent DSL exampleedit
q .GeoShapeMultiPoint(c => c .Name("named_query") .Boost(1.1) .Field(p => p.LocationShape) .Coordinates(MultiPointCoordinates) .Relation(GeoShapeRelation.Intersects) )
Object Initializer syntax exampleedit
new GeoShapeMultiPointQuery { Name = "named_query", Boost = 1.1, Field = Field<Project>(p => p.LocationShape), Shape = new MultiPointGeoShape(MultiPointCoordinates), Relation = GeoShapeRelation.Intersects, }