How to determines if a geo point is within a polygon

Hi team!

I have a question for geo query.

For example, I have a index which name is city, and in this index, I create a field which type is geo_shape.

Now I have a address's longitude and latitude, I want to get the city that this address belongs to by querying the city index.

Can Elasticsearch do that?

Thanks and have a nice day!

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