Query using NEST API if a point (Lat/lng) falls within a Polygon

Say we have an index that has a field of geo_shape and in it are the co-ordinates of a polygon.

How do I query to return all documents that have the point described by a lat/lng(not a field value but just a pair of values such as "40,10") within the polygons.

We have looked in the docs, but all examples seem to require a Field for the Lat/lng as opposed to passing just the actual values.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.