NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Geo Shape Point Query Usage
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Geo Shape Point Query Usage
editFluent DSL example
editq .GeoShapePoint(c => c .Name("named_query") .Boost(1.1) .Field(p => p.LocationShape) .Coordinates(PointCoordinates) .Relation(GeoShapeRelation.Intersects) )
Object Initializer syntax example
editnew GeoShapePointQuery { Name = "named_query", Boost = 1.1, Field = Field<Project>(p => p.LocationShape), Shape = new PointGeoShape(PointCoordinates), Relation = GeoShapeRelation.Intersects, }