WARNING: Version 5.x has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. 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.Location) .Coordinates(_coordinates) .Relation(GeoShapeRelation.Intersects) .IgnoreUnmapped() )
Object Initializer syntax exampleedit
new GeoShapeMultiPointQuery { Name = "named_query", Boost = 1.1, Field = Field<Project>(p => p.Location), Shape = new MultiPointGeoShape(_coordinates), Relation = GeoShapeRelation.Intersects, IgnoreUnmapped = false }