You are looking at preliminary documentation for a future release.
Not what you want? See the
current release documentation.
Geo Point Usageedit
Fluent DSL Exampleedit
q .GeoShapePoint(c => c .Name("named_query") .Boost(1.1) .Field(p=>p.Location) .Coordinates(this._coordinates) .Relation(GeoShapeRelation.Intersects) .IgnoreUnmapped() )
Object Initializer Syntax Exampleedit
new GeoShapePointQuery { Name = "named_query", Boost = 1.1, Field = Field<Project>(p=>p.Location), Shape = new PointGeoShape(this._coordinates), Relation = GeoShapeRelation.Intersects, IgnoreUnmapped = false }