Geo_shape search for Point in Polygon

I've seen this topic in several places but haven't found a resolution to it

I want to match a polygon that contains a point.

I've used searches similar to the following:

"filtered": {
"query": {
"match": {}
"filter": {
"geo_shape": {
"location": {
"shape": {
"type": "point",
"coordinates": [
"relation": "contains"

But have not had any luck.

Is this possible? I have the latest version of ES. If it's possible is
there an example search somewhere?

Thanks in advance.

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit