Geo Shape Point Query Usageedit

Fluent DSL exampleedit

q
.GeoShapePoint(c => c
    .Name("named_query")
    .Boost(1.1)
    .Field(p => p.LocationShape)
    .Coordinates(PointCoordinates)
    .Relation(GeoShapeRelation.Intersects)
)

Object Initializer syntax exampleedit

new GeoShapePointQuery
{
    Name = "named_query",
    Boost = 1.1,
    Field = Field<Project>(p => p.LocationShape),
    Shape = new PointGeoShape(PointCoordinates),
    Relation = GeoShapeRelation.Intersects,
}